Package org.keycloak.services
Class HttpRequestImpl
- java.lang.Object
- 
- org.keycloak.services.HttpRequestImpl
 
- 
- All Implemented Interfaces:
- HttpRequest
 
 public class HttpRequestImpl extends Object implements HttpRequest 
- 
- 
Constructor SummaryConstructors Constructor Description HttpRequestImpl(org.jboss.resteasy.spi.HttpRequest delegate)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description X509Certificate[]getClientCertificateChain()Returns the client X509 certificate chain when processing TLS requests.javax.ws.rs.core.MultivaluedMap<String,String>getDecodedFormParameters()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.javax.ws.rs.core.HttpHeadersgetHttpHeaders()Returns the HTTP headers.StringgetHttpMethod()Returns the HTTP method.javax.ws.rs.core.MultivaluedMap<String,FormPartValue>getMultiPartFormParameters()Parses the parts from a multipart form request (e.g.: multipart/form-data media type).javax.ws.rs.core.UriInfogetUri()Returns aUriInfoinstance for the path being requested.
 
- 
- 
- 
Method Detail- 
getHttpMethodpublic String getHttpMethod() Description copied from interface:HttpRequestReturns the HTTP method.- Specified by:
- getHttpMethodin interface- HttpRequest
- Returns:
- the HTTP method.
 
 - 
getDecodedFormParameterspublic javax.ws.rs.core.MultivaluedMap<String,String> 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 interface- HttpRequest
- Returns:
- the decoded form parameters
 
 - 
getMultiPartFormParameterspublic javax.ws.rs.core.MultivaluedMap<String,FormPartValue> getMultiPartFormParameters() Description copied from interface:HttpRequestParses the parts from a multipart form request (e.g.: multipart/form-data media type).- Specified by:
- getMultiPartFormParametersin interface- HttpRequest
- Returns:
- the parts from a multipart form request
 
 - 
getHttpHeaderspublic javax.ws.rs.core.HttpHeaders getHttpHeaders() Description copied from interface:HttpRequestReturns the HTTP headers.- Specified by:
- getHttpHeadersin interface- HttpRequest
- Returns:
- the HTTP headers
 
 - 
getClientCertificateChainpublic X509Certificate[] getClientCertificateChain() Description copied from interface:HttpRequestReturns the client X509 certificate chain when processing TLS requests.- Specified by:
- getClientCertificateChainin interface- HttpRequest
- Returns:
- the client certificate chain
 
 - 
getUripublic javax.ws.rs.core.UriInfo getUri() Description copied from interface:HttpRequestReturns aUriInfoinstance for the path being requested.- Specified by:
- getUriin interface- HttpRequest
- Returns:
- the UriInfofor the current path
 
 
- 
 
-