Package org.infinispan.server.security
Class HttpServerRequestAdapter
- java.lang.Object
-
- org.infinispan.server.security.HttpServerRequestAdapter
-
- All Implemented Interfaces:
org.wildfly.security.http.HttpServerRequest,org.wildfly.security.http.HttpServerScopes
public class HttpServerRequestAdapter extends Object implements org.wildfly.security.http.HttpServerRequest
- Since:
- 10.0
- Author:
- Tristan Tarrant <tristan@infinispan.org>
-
-
Constructor Summary
Constructors Constructor Description HttpServerRequestAdapter(org.infinispan.rest.framework.RestRequest request, io.netty.channel.ChannelHandlerContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidauthenticationComplete(org.wildfly.security.http.HttpServerMechanismsResponder responder)voidauthenticationComplete(org.wildfly.security.http.HttpServerMechanismsResponder responder, Runnable runnable)voidauthenticationFailed(String s, org.wildfly.security.http.HttpServerMechanismsResponder responder)voidauthenticationInProgress(org.wildfly.security.http.HttpServerMechanismsResponder responder)voidbadRequest(org.wildfly.security.http.HttpAuthenticationException e, org.wildfly.security.http.HttpServerMechanismsResponder responder)List<org.wildfly.security.http.HttpServerCookie>getCookies()StringgetFirstParameterValue(String s)StringgetFirstRequestHeaderValue(String s)InputStreamgetInputStream()Set<String>getParameterNames()Map<String,List<String>>getParameters()List<String>getParameterValues(String s)Certificate[]getPeerCertificates()List<String>getRequestHeaderValues(String s)StringgetRequestMethod()StringgetRequestPath()URIgetRequestURI()org.infinispan.rest.framework.RestResponsegetResponse()org.wildfly.security.http.HttpScopegetScope(org.wildfly.security.http.Scope scope)org.wildfly.security.http.HttpScopegetScope(org.wildfly.security.http.Scope scope, String s)Collection<String>getScopeIds(org.wildfly.security.http.Scope scope)InetSocketAddressgetSourceAddress()SSLSessiongetSSLSession()voidnoAuthenticationInProgress(org.wildfly.security.http.HttpServerMechanismsResponder responder)booleanresumeRequest()booleansuspendRequest()
-
-
-
Method Detail
-
getRequestHeaderValues
public List<String> getRequestHeaderValues(String s)
- Specified by:
getRequestHeaderValuesin interfaceorg.wildfly.security.http.HttpServerRequest
-
getFirstRequestHeaderValue
public String getFirstRequestHeaderValue(String s)
- Specified by:
getFirstRequestHeaderValuein interfaceorg.wildfly.security.http.HttpServerRequest
-
getSSLSession
public SSLSession getSSLSession()
- Specified by:
getSSLSessionin interfaceorg.wildfly.security.http.HttpServerRequest
-
getPeerCertificates
public Certificate[] getPeerCertificates()
- Specified by:
getPeerCertificatesin interfaceorg.wildfly.security.http.HttpServerRequest
-
noAuthenticationInProgress
public void noAuthenticationInProgress(org.wildfly.security.http.HttpServerMechanismsResponder responder)
- Specified by:
noAuthenticationInProgressin interfaceorg.wildfly.security.http.HttpServerRequest
-
authenticationInProgress
public void authenticationInProgress(org.wildfly.security.http.HttpServerMechanismsResponder responder)
- Specified by:
authenticationInProgressin interfaceorg.wildfly.security.http.HttpServerRequest
-
authenticationComplete
public void authenticationComplete(org.wildfly.security.http.HttpServerMechanismsResponder responder)
- Specified by:
authenticationCompletein interfaceorg.wildfly.security.http.HttpServerRequest
-
authenticationComplete
public void authenticationComplete(org.wildfly.security.http.HttpServerMechanismsResponder responder, Runnable runnable)- Specified by:
authenticationCompletein interfaceorg.wildfly.security.http.HttpServerRequest
-
authenticationFailed
public void authenticationFailed(String s, org.wildfly.security.http.HttpServerMechanismsResponder responder)
- Specified by:
authenticationFailedin interfaceorg.wildfly.security.http.HttpServerRequest
-
badRequest
public void badRequest(org.wildfly.security.http.HttpAuthenticationException e, org.wildfly.security.http.HttpServerMechanismsResponder responder)- Specified by:
badRequestin interfaceorg.wildfly.security.http.HttpServerRequest
-
getRequestMethod
public String getRequestMethod()
- Specified by:
getRequestMethodin interfaceorg.wildfly.security.http.HttpServerRequest
-
getRequestURI
public URI getRequestURI()
- Specified by:
getRequestURIin interfaceorg.wildfly.security.http.HttpServerRequest
-
getRequestPath
public String getRequestPath()
- Specified by:
getRequestPathin interfaceorg.wildfly.security.http.HttpServerRequest
-
getParameters
public Map<String,List<String>> getParameters()
- Specified by:
getParametersin interfaceorg.wildfly.security.http.HttpServerRequest
-
getParameterNames
public Set<String> getParameterNames()
- Specified by:
getParameterNamesin interfaceorg.wildfly.security.http.HttpServerRequest
-
getParameterValues
public List<String> getParameterValues(String s)
- Specified by:
getParameterValuesin interfaceorg.wildfly.security.http.HttpServerRequest
-
getFirstParameterValue
public String getFirstParameterValue(String s)
- Specified by:
getFirstParameterValuein interfaceorg.wildfly.security.http.HttpServerRequest
-
getCookies
public List<org.wildfly.security.http.HttpServerCookie> getCookies()
- Specified by:
getCookiesin interfaceorg.wildfly.security.http.HttpServerRequest
-
getInputStream
public InputStream getInputStream()
- Specified by:
getInputStreamin interfaceorg.wildfly.security.http.HttpServerRequest
-
getSourceAddress
public InetSocketAddress getSourceAddress()
- Specified by:
getSourceAddressin interfaceorg.wildfly.security.http.HttpServerRequest
-
suspendRequest
public boolean suspendRequest()
- Specified by:
suspendRequestin interfaceorg.wildfly.security.http.HttpServerRequest
-
resumeRequest
public boolean resumeRequest()
- Specified by:
resumeRequestin interfaceorg.wildfly.security.http.HttpServerRequest
-
getScope
public org.wildfly.security.http.HttpScope getScope(org.wildfly.security.http.Scope scope)
- Specified by:
getScopein interfaceorg.wildfly.security.http.HttpServerScopes
-
getScopeIds
public Collection<String> getScopeIds(org.wildfly.security.http.Scope scope)
- Specified by:
getScopeIdsin interfaceorg.wildfly.security.http.HttpServerScopes
-
getScope
public org.wildfly.security.http.HttpScope getScope(org.wildfly.security.http.Scope scope, String s)- Specified by:
getScopein interfaceorg.wildfly.security.http.HttpServerScopes
-
getResponse
public org.infinispan.rest.framework.RestResponse getResponse()
-
-