Interface FilterFunctions
public interface FilterFunctions
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> addRequestHeader(String name, String... values) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> addRequestHeadersIfNotPresent(String values) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> addRequestHeadersIfNotPresent(KeyValues keyValues) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> addRequestParameter(String name, String... values) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> addResponseHeader(String name, String... values) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> dedupeResponseHeader(String name) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> dedupeResponseHeader(String name, AfterFilterFunctions.DedupeStrategy strategy) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> fallbackHeaders(Consumer<BeforeFilterFunctions.FallbackHeadersConfig> configConsumer) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> mapRequestHeader(String fromHeader, String toHeader) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> prefixPath(String prefix) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> Deprecated, for removal: This API element is subject to removal in a future version.static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> redirectTo(int status, URI uri) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> redirectTo(String status, URI uri) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> redirectTo(HttpStatusHolder status, URI uri) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> redirectTo(org.springframework.http.HttpStatusCode status, URI uri) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> removeRequestHeader(String name) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> removeRequestParameter(String name) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> removeResponseHeader(String name) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> requestHeaderSize(String maxSize) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> requestHeaderSize(org.springframework.util.unit.DataSize maxSize) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> requestSize(String maxSize) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> requestSize(org.springframework.util.unit.DataSize maxSize) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> rewriteLocationResponseHeader(String stripVersion, String locationHeaderName, String hostValue, String protocolsRegex) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> rewritePath(String regexp, String replacement) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> rewriteResponseHeader(String name, String regexp, String replacement) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> setRequestHeader(String name, String value) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> setRequestHostHeader(String host) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> setResponseHeader(String name, String value) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> setStatus(int statusCode) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> setStatus(HttpStatusHolder statusCode) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> setStatus(org.springframework.http.HttpStatusCode statusCode) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> stripPrefix(int parts) static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse>
-
Method Details
-
adaptCachedBody
@Shortcut static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> adaptCachedBody() -
addRequestHeader
-
addRequestHeadersIfNotPresent
static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> addRequestHeadersIfNotPresent(String values) -
addRequestHeadersIfNotPresent
-
addRequestParameter
-
addResponseHeader
-
dedupeResponseHeader
-
dedupeResponseHeader
@Shortcut static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> dedupeResponseHeader(String name, AfterFilterFunctions.DedupeStrategy strategy) -
fallbackHeaders
@Shortcut static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> fallbackHeaders() -
fallbackHeaders
static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> fallbackHeaders(Consumer<BeforeFilterFunctions.FallbackHeadersConfig> configConsumer) -
mapRequestHeader
-
prefixPath
-
preserveHost
@Deprecated(forRemoval=true) @Shortcut static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> preserveHost()Deprecated, for removal: This API element is subject to removal in a future version. -
preserveHostHeader
@Shortcut static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> preserveHostHeader() -
redirectTo
static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> redirectTo(int status, URI uri) -
redirectTo
-
redirectTo
static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> redirectTo(org.springframework.http.HttpStatusCode status, URI uri) -
redirectTo
@Shortcut static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> redirectTo(HttpStatusHolder status, URI uri) -
removeRequestHeader
-
removeRequestParameter
-
removeResponseHeader
-
requestHeaderSize
-
requestHeaderSize
static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> requestHeaderSize(org.springframework.util.unit.DataSize maxSize) -
requestHeaderToRequestUri
-
requestSize
-
requestSize
static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> requestSize(org.springframework.util.unit.DataSize maxSize) -
rewriteLocationResponseHeader
@Shortcut static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> rewriteLocationResponseHeader(String stripVersion, String locationHeaderName, String hostValue, String protocolsRegex) -
rewritePath
-
rewriteResponseHeader
-
routeId
-
setPath
-
setRequestHeader
-
setRequestHostHeader
-
setResponseHeader
-
stripContextPath
@Shortcut static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> stripContextPath() -
stripPrefix
static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> stripPrefix() -
stripPrefix
@Shortcut static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> stripPrefix(int parts) -
setStatus
static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> setStatus(int statusCode) -
setStatus
static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> setStatus(org.springframework.http.HttpStatusCode statusCode) -
setStatus
@Shortcut static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> setStatus(HttpStatusHolder statusCode) -
uri
static org.springframework.web.servlet.function.HandlerFilterFunction<org.springframework.web.servlet.function.ServerResponse,org.springframework.web.servlet.function.ServerResponse> uri(String uri) -
uri
-