Class NettyHttpRequest

java.lang.Object
org.jboss.resteasy.plugins.server.BaseHttpRequest
org.jboss.resteasy.plugins.server.netty.NettyHttpRequest
All Implemented Interfaces:
HttpRequest

@Deprecated(forRemoval=true, since="6.2.13.Final") public class NettyHttpRequest extends BaseHttpRequest
Deprecated, for removal: This API element is subject to removal in a future version.
use the new dependencies
Abstraction for an inbound http request on the server, or a response from a server to a client

We have this abstraction so that we can reuse marshalling objects in a client framework and serverside framework

Version:
$Revision: 1 $
Author:
Bill Burke, Norman Maurer, Kristoffer Sjogren
  • Field Details

    • httpHeaders

      protected ResteasyHttpHeaders httpHeaders
      Deprecated, for removal: This API element is subject to removal in a future version.
    • dispatcher

      protected SynchronousDispatcher dispatcher
      Deprecated, for removal: This API element is subject to removal in a future version.
    • httpMethod

      protected String httpMethod
      Deprecated, for removal: This API element is subject to removal in a future version.
    • inputStream

      protected InputStream inputStream
      Deprecated, for removal: This API element is subject to removal in a future version.
    • attributes

      protected Map<String,Object> attributes
      Deprecated, for removal: This API element is subject to removal in a future version.
    • response

      protected NettyHttpResponse response
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

  • Method Details

    • getMutableHeaders

      public jakarta.ws.rs.core.MultivaluedMap<String,String> getMutableHeaders()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setHttpMethod

      public void setHttpMethod(String method)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getAttributeNames

      public Enumeration<String> getAttributeNames()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getAsyncContext

      public ResteasyAsynchronousContext getAsyncContext()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isFlushed

      public boolean isFlushed()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getAttribute

      public Object getAttribute(String attribute)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: HttpRequest
      Map of contextual data. Similar to HttpServletRequest attributes
      Parameters:
      attribute - attribute name
      Returns:
      attribute
    • setAttribute

      public void setAttribute(String name, Object value)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • removeAttribute

      public void removeAttribute(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getHttpHeaders

      public jakarta.ws.rs.core.HttpHeaders getHttpHeaders()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getInputStream

      public InputStream getInputStream()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setInputStream

      public void setInputStream(InputStream stream)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: HttpRequest
      If you are using a servlet container, this will *NOT* override the HttpServletRequest.getInputStream(). It will only override it for the resteasy HttpRequest
      Parameters:
      stream - input stream
    • getHttpMethod

      public String getHttpMethod()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getResponse

      public NettyHttpResponse getResponse()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isKeepAlive

      public boolean isKeepAlive()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • is100ContinueExpected

      public boolean is100ContinueExpected()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • forward

      public void forward(String path)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • wasForwarded

      public boolean wasForwarded()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setContentBuffer

      public void setContentBuffer(io.netty.buffer.ByteBuf content)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • releaseContentBuffer

      public void releaseContentBuffer()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getRemoteHost

      public String getRemoteHost()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: HttpRequest
      Returns the fully qualified name of the client or the last proxy that sent the request. If the engine cannot or chooses not to resolve the hostname (to improve performance), this method returns the dotted-string form of the IP address.
      Returns:
      a String containing the fully qualified name of the client
    • getRemoteAddress

      public String getRemoteAddress()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: HttpRequest
      Returns the Internet Protocol (IP) address of the client or last proxy that sent the request.
      Returns:
      a String containing the IP address of the client that sent the request