Class HttpServerRequest

  • All Implemented Interfaces:
    HttpRequest

    public class HttpServerRequest
    extends org.jboss.resteasy.plugins.server.BaseHttpRequest
    Version:
    $Revision: 1 $
    Author:
    Bill Burke
    • Field Detail

      • dispatcher

        protected org.jboss.resteasy.core.SynchronousDispatcher dispatcher
      • exchange

        protected com.sun.net.httpserver.HttpExchange exchange
      • httpHeaders

        protected org.jboss.resteasy.specimpl.ResteasyHttpHeaders httpHeaders
      • preProcessedPath

        protected String preProcessedPath
      • httpMethod

        protected String httpMethod
    • Constructor Detail

      • HttpServerRequest

        public HttpServerRequest​(org.jboss.resteasy.core.SynchronousDispatcher dispatcher,
                                 HttpResponse httpResponse,
                                 com.sun.net.httpserver.HttpExchange exchange)
    • Method Detail

      • getMutableHeaders

        public javax.ws.rs.core.MultivaluedMap<String,​String> getMutableHeaders()
      • getHttpHeaders

        public javax.ws.rs.core.HttpHeaders getHttpHeaders()
      • setInputStream

        public void setInputStream​(InputStream stream)
      • getHttpMethod

        public String getHttpMethod()
      • setHttpMethod

        public void setHttpMethod​(String method)
      • getAttribute

        public Object getAttribute​(String attribute)
      • setAttribute

        public void setAttribute​(String name,
                                 Object value)
      • removeAttribute

        public void removeAttribute​(String name)
      • forward

        public void forward​(String path)
      • wasForwarded

        public boolean wasForwarded()
      • getRemoteHost

        public String getRemoteHost()
      • getRemoteAddress

        public String getRemoteAddress()