Package org.keycloak.services
Class HttpRequestImpl
java.lang.Object
org.keycloak.services.HttpRequestImpl
- All Implemented Interfaces:
HttpRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the client X509 certificate chain when processing TLS requests.Returns the form parameters (e.g.: media typeapplication/x-www-form-urlencoded) as aMultivaluedMapwhere the key and its correspondent value maps to the parameter name and value, respectively.jakarta.ws.rs.core.HttpHeadersReturns the HTTP headers.Returns the HTTP method.jakarta.ws.rs.core.MultivaluedMap<String,FormPartValue> Parses the parts from a multipart form request (e.g.: multipart/form-data media type).jakarta.ws.rs.core.UriInfogetUri()Returns aUriInfoinstance for the path being requested.
-
Constructor Details
-
HttpRequestImpl
public HttpRequestImpl(org.jboss.resteasy.spi.HttpRequest delegate)
-
-
Method Details
-
getHttpMethod
Description copied from interface:HttpRequestReturns the HTTP method.- Specified by:
getHttpMethodin interfaceHttpRequest- Returns:
- the HTTP method.
-
getDecodedFormParameters
Description copied from interface:HttpRequestReturns the form parameters (e.g.: media type
application/x-www-form-urlencoded) as aMultivaluedMapwhere the key and its correspondent value maps to the parameter name and value, respectively.The values are already decoded using HTML form decoding.
- Specified by:
getDecodedFormParametersin interfaceHttpRequest- Returns:
- the decoded form parameters
-
getMultiPartFormParameters
Description copied from interface:HttpRequestParses the parts from a multipart form request (e.g.: multipart/form-data media type).- Specified by:
getMultiPartFormParametersin interfaceHttpRequest- Returns:
- the parts from a multipart form request
-
getHttpHeaders
public jakarta.ws.rs.core.HttpHeaders getHttpHeaders()Description copied from interface:HttpRequestReturns the HTTP headers.- Specified by:
getHttpHeadersin interfaceHttpRequest- Returns:
- the HTTP headers
-
getClientCertificateChain
Description copied from interface:HttpRequestReturns the client X509 certificate chain when processing TLS requests.- Specified by:
getClientCertificateChainin interfaceHttpRequest- Returns:
- the client certificate chain
-
getUri
public jakarta.ws.rs.core.UriInfo getUri()Description copied from interface:HttpRequestReturns aUriInfoinstance for the path being requested.- Specified by:
getUriin interfaceHttpRequest- Returns:
- the
UriInfofor the current path
-