Class ServerWebExchangeContext
java.lang.Object
org.apache.syncope.sra.security.pac4j.ServerWebExchangeContext
- All Implemented Interfaces:
org.pac4j.core.context.WebContext
-
Constructor Summary
ConstructorsConstructorDescriptionServerWebExchangeContext(ServerWebExchange exchange) Build a WebFlux context from the current exchange. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResponseCookie(org.pac4j.core.context.Cookie cookie) Return the native exchange.getPath()getRequestAttribute(String name) Collection<org.pac4j.core.context.Cookie> getRequestHeader(String name) getRequestParameter(String name) intbooleanisSecure()setForm(MultiValueMap<String, String> form) voidsetRequestAttribute(String name, Object value) voidsetResponseContentType(String content) voidsetResponseHeader(String name, String value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.pac4j.core.context.WebContext
getRequestAttribute, getRequestURL
-
Constructor Details
-
ServerWebExchangeContext
Build a WebFlux context from the current exchange.- Parameters:
exchange- the current exchange
-
-
Method Details
-
getRequestAttribute
- Specified by:
getRequestAttributein interfaceorg.pac4j.core.context.WebContext
-
setRequestAttribute
- Specified by:
setRequestAttributein interfaceorg.pac4j.core.context.WebContext
-
getRequestParameter
- Specified by:
getRequestParameterin interfaceorg.pac4j.core.context.WebContext
-
setForm
-
getQueryString
- Specified by:
getQueryStringin interfaceorg.pac4j.core.context.WebContext
-
getRequestParameters
- Specified by:
getRequestParametersin interfaceorg.pac4j.core.context.WebContext
-
getRequestHeader
- Specified by:
getRequestHeaderin interfaceorg.pac4j.core.context.WebContext
-
getRequestMethod
- Specified by:
getRequestMethodin interfaceorg.pac4j.core.context.WebContext
-
getRemoteAddr
- Specified by:
getRemoteAddrin interfaceorg.pac4j.core.context.WebContext
-
getNative
Return the native exchange.- Returns:
- the native exchange
-
setResponseHeader
- Specified by:
setResponseHeaderin interfaceorg.pac4j.core.context.WebContext
-
getResponseHeader
- Specified by:
getResponseHeaderin interfaceorg.pac4j.core.context.WebContext
-
setResponseContentType
- Specified by:
setResponseContentTypein interfaceorg.pac4j.core.context.WebContext
-
getProtocol
- Specified by:
getProtocolin interfaceorg.pac4j.core.context.WebContext
-
getServerName
- Specified by:
getServerNamein interfaceorg.pac4j.core.context.WebContext
-
getServerPort
public int getServerPort()- Specified by:
getServerPortin interfaceorg.pac4j.core.context.WebContext
-
getScheme
- Specified by:
getSchemein interfaceorg.pac4j.core.context.WebContext
-
isSecure
public boolean isSecure()- Specified by:
isSecurein interfaceorg.pac4j.core.context.WebContext
-
getFullRequestURL
- Specified by:
getFullRequestURLin interfaceorg.pac4j.core.context.WebContext
-
getRequestCookies
- Specified by:
getRequestCookiesin interfaceorg.pac4j.core.context.WebContext
-
addResponseCookie
public void addResponseCookie(org.pac4j.core.context.Cookie cookie) - Specified by:
addResponseCookiein interfaceorg.pac4j.core.context.WebContext
-
getPath
- Specified by:
getPathin interfaceorg.pac4j.core.context.WebContext
-
setBody
-
getRequestContent
- Specified by:
getRequestContentin interfaceorg.pac4j.core.context.WebContext
-