public class LensContainerRequest extends Object
Constructor and Description |
---|
LensContainerRequest(org.glassfish.jersey.server.ContainerRequest containerRequest) |
Modifier and Type | Method and Description |
---|---|
<T> T |
getFormData(Class<T> clz)
Utility method for reading form/multipart-form data from container request.
|
com.google.common.base.Optional<String> |
getFormDataFieldValue(String fieldName)
parses form data as multipart form data and extracts the value of given fieldName from it.
|
@ConstructorProperties(value="containerRequest") @Generated(value="lombok") public LensContainerRequest(@NonNull org.glassfish.jersey.server.ContainerRequest containerRequest)
public com.google.common.base.Optional<String> getFormDataFieldValue(String fieldName)
fieldName
- public <T> T getFormData(Class<T> clz)
T
- clz typeclz
- Either Form.class or FormDataMultiPart.classCopyright © 2014–2018 Apache Software Foundation. All rights reserved.