Class SpringWebFluxHelper
java.lang.Object
io.microsphere.spring.webflux.util.SpringWebFluxHelper
- All Implemented Interfaces:
SpringWebHelper
SpringWebHelper for Spring WebFlux- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCookie(org.springframework.web.context.request.NativeWebRequest request, String cookieName, String cookieValue) voidaddHeader(org.springframework.web.context.request.NativeWebRequest request, String headerName, String... headerValues) getBestMatchingHandler(org.springframework.web.context.request.NativeWebRequest request) getBestMatchingPattern(org.springframework.web.context.request.NativeWebRequest request) getCookieValue(org.springframework.web.context.request.NativeWebRequest request, String cookieName) getMatrixVariables(org.springframework.web.context.request.NativeWebRequest request) getMethod(org.springframework.web.context.request.NativeWebRequest request) getPathWithinHandlerMapping(org.springframework.web.context.request.NativeWebRequest request) Set<org.springframework.http.MediaType>getProducibleMediaTypes(org.springframework.web.context.request.NativeWebRequest request) protected org.springframework.http.HttpHeadersgetResponseHeaders(org.springframework.web.context.request.NativeWebRequest request) protected org.springframework.http.server.reactive.ServerHttpRequestgetServerHttpRequest(org.springframework.web.context.request.NativeWebRequest request) protected org.springframework.http.server.reactive.ServerHttpResponsegetServerHttpResponse(org.springframework.web.context.request.NativeWebRequest request) protected ServerWebRequestgetServerWebRequest(org.springframework.web.context.request.NativeWebRequest request) getType()getUriTemplateVariables(org.springframework.web.context.request.NativeWebRequest request) voidsetHeader(org.springframework.web.context.request.NativeWebRequest request, String headerName, String headerValue) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.microsphere.spring.web.util.SpringWebHelper
getHeader, getHeaderValues, getRequestBody, writeResponseBody
-
Constructor Details
-
SpringWebFluxHelper
public SpringWebFluxHelper()
-
-
Method Details
-
getMethod
- Specified by:
getMethodin interfaceSpringWebHelper
-
setHeader
public void setHeader(org.springframework.web.context.request.NativeWebRequest request, String headerName, String headerValue) - Specified by:
setHeaderin interfaceSpringWebHelper
-
addHeader
public void addHeader(org.springframework.web.context.request.NativeWebRequest request, String headerName, String... headerValues) - Specified by:
addHeaderin interfaceSpringWebHelper
-
getCookieValue
public String getCookieValue(org.springframework.web.context.request.NativeWebRequest request, String cookieName) - Specified by:
getCookieValuein interfaceSpringWebHelper
-
addCookie
public void addCookie(org.springframework.web.context.request.NativeWebRequest request, String cookieName, String cookieValue) - Specified by:
addCookiein interfaceSpringWebHelper
-
getBestMatchingHandler
public Object getBestMatchingHandler(org.springframework.web.context.request.NativeWebRequest request) - Specified by:
getBestMatchingHandlerin interfaceSpringWebHelper
-
getPathWithinHandlerMapping
public String getPathWithinHandlerMapping(org.springframework.web.context.request.NativeWebRequest request) - Specified by:
getPathWithinHandlerMappingin interfaceSpringWebHelper
-
getBestMatchingPattern
public String getBestMatchingPattern(org.springframework.web.context.request.NativeWebRequest request) - Specified by:
getBestMatchingPatternin interfaceSpringWebHelper
-
getUriTemplateVariables
public Map<String,String> getUriTemplateVariables(org.springframework.web.context.request.NativeWebRequest request) - Specified by:
getUriTemplateVariablesin interfaceSpringWebHelper
-
getMatrixVariables
public Map<String,org.springframework.util.MultiValueMap<String, getMatrixVariablesString>> (org.springframework.web.context.request.NativeWebRequest request) - Specified by:
getMatrixVariablesin interfaceSpringWebHelper
-
getProducibleMediaTypes
public Set<org.springframework.http.MediaType> getProducibleMediaTypes(org.springframework.web.context.request.NativeWebRequest request) - Specified by:
getProducibleMediaTypesin interfaceSpringWebHelper
-
getType
- Specified by:
getTypein interfaceSpringWebHelper
-
getServerHttpResponse
protected org.springframework.http.server.reactive.ServerHttpResponse getServerHttpResponse(org.springframework.web.context.request.NativeWebRequest request) -
getResponseHeaders
protected org.springframework.http.HttpHeaders getResponseHeaders(org.springframework.web.context.request.NativeWebRequest request) -
getServerHttpRequest
protected org.springframework.http.server.reactive.ServerHttpRequest getServerHttpRequest(org.springframework.web.context.request.NativeWebRequest request) -
getServerWebRequest
protected ServerWebRequest getServerWebRequest(org.springframework.web.context.request.NativeWebRequest request)
-