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 Details

    • HttpServerRequestAdapter

      public HttpServerRequestAdapter(org.infinispan.rest.framework.RestRequest request, io.netty.channel.ChannelHandlerContext ctx)
  • Method Details

    • getRequestHeaderValues

      public List<String> getRequestHeaderValues(String s)
      Specified by:
      getRequestHeaderValues in interface org.wildfly.security.http.HttpServerRequest
    • getFirstRequestHeaderValue

      public String getFirstRequestHeaderValue(String s)
      Specified by:
      getFirstRequestHeaderValue in interface org.wildfly.security.http.HttpServerRequest
    • getSSLSession

      public SSLSession getSSLSession()
      Specified by:
      getSSLSession in interface org.wildfly.security.http.HttpServerRequest
    • getPeerCertificates

      public Certificate[] getPeerCertificates()
      Specified by:
      getPeerCertificates in interface org.wildfly.security.http.HttpServerRequest
    • noAuthenticationInProgress

      public void noAuthenticationInProgress(org.wildfly.security.http.HttpServerMechanismsResponder responder)
      Specified by:
      noAuthenticationInProgress in interface org.wildfly.security.http.HttpServerRequest
    • authenticationInProgress

      public void authenticationInProgress(org.wildfly.security.http.HttpServerMechanismsResponder responder)
      Specified by:
      authenticationInProgress in interface org.wildfly.security.http.HttpServerRequest
    • authenticationComplete

      public void authenticationComplete(org.wildfly.security.http.HttpServerMechanismsResponder responder)
      Specified by:
      authenticationComplete in interface org.wildfly.security.http.HttpServerRequest
    • authenticationComplete

      public void authenticationComplete(org.wildfly.security.http.HttpServerMechanismsResponder responder, Runnable runnable)
      Specified by:
      authenticationComplete in interface org.wildfly.security.http.HttpServerRequest
    • authenticationFailed

      public void authenticationFailed(String s, org.wildfly.security.http.HttpServerMechanismsResponder responder)
      Specified by:
      authenticationFailed in interface org.wildfly.security.http.HttpServerRequest
    • badRequest

      public void badRequest(org.wildfly.security.http.HttpAuthenticationException e, org.wildfly.security.http.HttpServerMechanismsResponder responder)
      Specified by:
      badRequest in interface org.wildfly.security.http.HttpServerRequest
    • getRequestMethod

      public String getRequestMethod()
      Specified by:
      getRequestMethod in interface org.wildfly.security.http.HttpServerRequest
    • getRequestURI

      public URI getRequestURI()
      Specified by:
      getRequestURI in interface org.wildfly.security.http.HttpServerRequest
    • getRequestPath

      public String getRequestPath()
      Specified by:
      getRequestPath in interface org.wildfly.security.http.HttpServerRequest
    • getParameters

      public Map<String,List<String>> getParameters()
      Specified by:
      getParameters in interface org.wildfly.security.http.HttpServerRequest
    • getParameterNames

      public Set<String> getParameterNames()
      Specified by:
      getParameterNames in interface org.wildfly.security.http.HttpServerRequest
    • getParameterValues

      public List<String> getParameterValues(String s)
      Specified by:
      getParameterValues in interface org.wildfly.security.http.HttpServerRequest
    • getFirstParameterValue

      public String getFirstParameterValue(String s)
      Specified by:
      getFirstParameterValue in interface org.wildfly.security.http.HttpServerRequest
    • getCookies

      public List<org.wildfly.security.http.HttpServerCookie> getCookies()
      Specified by:
      getCookies in interface org.wildfly.security.http.HttpServerRequest
    • getInputStream

      public InputStream getInputStream()
      Specified by:
      getInputStream in interface org.wildfly.security.http.HttpServerRequest
    • getSourceAddress

      public InetSocketAddress getSourceAddress()
      Specified by:
      getSourceAddress in interface org.wildfly.security.http.HttpServerRequest
    • suspendRequest

      public boolean suspendRequest()
      Specified by:
      suspendRequest in interface org.wildfly.security.http.HttpServerRequest
    • resumeRequest

      public boolean resumeRequest()
      Specified by:
      resumeRequest in interface org.wildfly.security.http.HttpServerRequest
    • getScope

      public org.wildfly.security.http.HttpScope getScope(org.wildfly.security.http.Scope scope)
      Specified by:
      getScope in interface org.wildfly.security.http.HttpServerScopes
    • getScopeIds

      public Collection<String> getScopeIds(org.wildfly.security.http.Scope scope)
      Specified by:
      getScopeIds in interface org.wildfly.security.http.HttpServerScopes
    • getScope

      public org.wildfly.security.http.HttpScope getScope(org.wildfly.security.http.Scope scope, String s)
      Specified by:
      getScope in interface org.wildfly.security.http.HttpServerScopes
    • getResponse

      public org.infinispan.rest.framework.RestResponse getResponse()