public abstract class FormFieldDirectives extends FileUploadDirectives
Constructor and Description |
---|
FormFieldDirectives() |
Modifier and Type | Method and Description |
---|---|
Route |
formField(java.lang.String name,
java.util.function.Function<java.lang.String,Route> inner) |
<T> Route |
formField(Unmarshaller<java.lang.String,T> t,
java.lang.String name,
java.util.function.Function<T,Route> inner) |
Route |
formFieldList(java.util.function.Function<java.util.List<java.util.Map.Entry<java.lang.String,java.lang.String>>,Route> inner)
Extracts HTTP form fields from the request as a
Map.Entry . |
Route |
formFieldList(java.lang.String name,
java.util.function.Function<java.util.List<java.lang.String>,Route> inner) |
<T> Route |
formFieldList(Unmarshaller<java.lang.String,T> t,
java.lang.String name,
java.util.function.Function<java.util.List<T>,Route> inner) |
Route |
formFieldMap(java.util.function.Function<java.util.Map<java.lang.String,java.lang.String>,Route> inner)
Extracts HTTP form fields from the request as a
Map . |
Route |
formFieldMultiMap(java.util.function.Function<java.util.Map<java.lang.String,java.util.List<java.lang.String>>,Route> inner)
Extracts HTTP form fields from the request as a
Map . |
Route |
formFieldOptional(java.lang.String name,
java.util.function.Function<java.util.Optional<java.lang.String>,Route> inner) |
<T> Route |
formFieldOptional(Unmarshaller<java.lang.String,T> t,
java.lang.String name,
java.util.function.Function<java.util.Optional<T>,Route> inner) |
fileUpload, fileUploadAll, storeUploadedFile, storeUploadedFiles
defaultContentTypeResolver, defaultDirectoryRenderer, getFromBrowseableDirectories, getFromBrowseableDirectories, getFromBrowseableDirectories, getFromBrowseableDirectories, getFromBrowseableDirectories, getFromBrowseableDirectory, getFromBrowseableDirectory, getFromBrowseableDirectory, getFromBrowseableDirectory, getFromDirectory, getFromDirectory, getFromFile, getFromFile, getFromFile, getFromFile, getFromFile, getFromResource, getFromResource, getFromResource, getFromResource, getFromResourceDirectory, getFromResourceDirectory, getFromResourceDirectory, getFromResourceDirectory, listDirectoryContents, listDirectoryContents, listDirectoryContents, listDirectoryContents
handleExceptions, handleRejections
logRequest, logRequest, logRequest, logRequestResult, logRequestResultOptional, logResult, logResult, logResult
cookie, deleteCookie, deleteCookie, deleteCookie, deleteCookie, deleteCookie, optionalCookie, setCookie, setCookie
decodeRequest, decodeRequestWith, decodeRequestWith, encodeResponse, encodeResponseWith, requestEncodedWith, responseEncodingAccepted, withPrecompressedMediaTypeSupport
conditional, conditional, conditional, conditional
cancelRejection, cancelRejections, cancelRejections, extract, extractActorSystem, extractDataBytes, extractEntity, extractExecutionContext, extractLog, extractMatchedPath, extractMaterializer, extractParserSettings, extractRequest, extractRequestContext, extractRequestEntity, extractSettings, extractStrictEntity, extractStrictEntity, extractUnmatchedPath, extractUri, mapInnerRoute, mapRejections, mapRequest, mapRequestContext, mapResponse, mapResponseEntity, mapResponseHeaders, mapRouteResult, mapRouteResultFuture, mapRouteResultPF, mapRouteResultWith, mapRouteResultWithPF, mapSettings, mapUnmatchedPath, pass, provide, recoverRejections, recoverRejectionsWith, toStrictEntity, toStrictEntity, withExecutionContext, withLog, withMaterializer, withSettings
public Route formField(java.lang.String name, java.util.function.Function<java.lang.String,Route> inner)
public <T> Route formField(Unmarshaller<java.lang.String,T> t, java.lang.String name, java.util.function.Function<T,Route> inner)
public Route formFieldList(java.lang.String name, java.util.function.Function<java.util.List<java.lang.String>,Route> inner)
public <T> Route formFieldList(Unmarshaller<java.lang.String,T> t, java.lang.String name, java.util.function.Function<java.util.List<T>,Route> inner)
public Route formFieldList(java.util.function.Function<java.util.List<java.util.Map.Entry<java.lang.String,java.lang.String>>,Route> inner)
Map.Entry
.inner
- (undocumented)public Route formFieldMap(java.util.function.Function<java.util.Map<java.lang.String,java.lang.String>,Route> inner)
Map
.inner
- (undocumented)public Route formFieldMultiMap(java.util.function.Function<java.util.Map<java.lang.String,java.util.List<java.lang.String>>,Route> inner)
Map
.inner
- (undocumented)public Route formFieldOptional(java.lang.String name, java.util.function.Function<java.util.Optional<java.lang.String>,Route> inner)
public <T> Route formFieldOptional(Unmarshaller<java.lang.String,T> t, java.lang.String name, java.util.function.Function<java.util.Optional<T>,Route> inner)