public abstract class ParameterDirectives extends MiscDirectives
Constructor and Description |
---|
ParameterDirectives() |
Modifier and Type | Method and Description |
---|---|
Route |
parameter(java.lang.String name,
java.util.function.Function<java.lang.String,Route> inner) |
<T> Route |
parameter(Unmarshaller<java.lang.String,T> t,
java.lang.String name,
java.util.function.Function<T,Route> inner) |
Route |
parameterList(java.util.function.Function<java.util.List<java.util.Map.Entry<java.lang.String,java.lang.String>>,Route> inner) |
Route |
parameterList(java.lang.String name,
java.util.function.Function<java.util.List<java.lang.String>,Route> inner) |
<T> Route |
parameterList(Unmarshaller<java.lang.String,T> t,
java.lang.String name,
java.util.function.Function<java.util.List<T>,Route> inner) |
Route |
parameterMap(java.util.function.Function<java.util.Map<java.lang.String,java.lang.String>,Route> inner) |
Route |
parameterMultiMap(java.util.function.Function<java.util.Map<java.lang.String,java.util.List<java.lang.String>>,Route> inner) |
Route |
parameterOptional(java.lang.String name,
java.util.function.Function<java.util.Optional<java.lang.String>,Route> inner) |
<T> Route |
parameterOptional(Unmarshaller<java.lang.String,T> t,
java.lang.String name,
java.util.function.Function<java.util.Optional<T>,Route> inner) |
<T> Route |
parameterOrDefault(Unmarshaller<java.lang.String,T> t,
T defaultValue,
java.lang.String name,
java.util.function.Function<T,Route> inner) |
<T> Route |
parameterRequiredValue(Unmarshaller<java.lang.String,T> t,
T requiredValue,
java.lang.String name,
java.util.function.Supplier<Route> inner) |
extractClientIP, rejectEmptyResponse, requestEntityEmpty, requestEntityPresent, selectPreferredLanguage, validate, withoutSizeLimit, withSizeLimit
delete, extractMethod, get, head, method, options, overrideMethodWithParameter, patch, post, put
completeWith, entity, handleWith, request
extractHost, host, host, host, host
attribute, optionalAttribute
checkSameOrigin, headerValue, headerValueByName, headerValueByType, headerValuePF, optionalHeaderValue, optionalHeaderValueByName, optionalHeaderValueByType, optionalHeaderValuePF
completeOrRecoverWith, onComplete, onComplete, onCompleteWithBreaker, onSuccess, onSuccess
formField, formField, formFieldList, formFieldList, formFieldList, formFieldMap, formFieldMultiMap, formFieldOptional, formFieldOptional
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 parameter(java.lang.String name, java.util.function.Function<java.lang.String,Route> inner)
public <T> Route parameter(Unmarshaller<java.lang.String,T> t, java.lang.String name, java.util.function.Function<T,Route> inner)
public Route parameterList(java.lang.String name, java.util.function.Function<java.util.List<java.lang.String>,Route> inner)
public <T> Route parameterList(Unmarshaller<java.lang.String,T> t, java.lang.String name, java.util.function.Function<java.util.List<T>,Route> inner)
public Route parameterList(java.util.function.Function<java.util.List<java.util.Map.Entry<java.lang.String,java.lang.String>>,Route> inner)
public Route parameterMap(java.util.function.Function<java.util.Map<java.lang.String,java.lang.String>,Route> inner)
public Route parameterMultiMap(java.util.function.Function<java.util.Map<java.lang.String,java.util.List<java.lang.String>>,Route> inner)
public Route parameterOptional(java.lang.String name, java.util.function.Function<java.util.Optional<java.lang.String>,Route> inner)
public <T> Route parameterOptional(Unmarshaller<java.lang.String,T> t, java.lang.String name, java.util.function.Function<java.util.Optional<T>,Route> inner)
public <T> Route parameterOrDefault(Unmarshaller<java.lang.String,T> t, T defaultValue, java.lang.String name, java.util.function.Function<T,Route> inner)
public <T> Route parameterRequiredValue(Unmarshaller<java.lang.String,T> t, T requiredValue, java.lang.String name, java.util.function.Supplier<Route> inner)