Class VertxHttpRequest

java.lang.Object
org.jboss.resteasy.plugins.server.BaseHttpRequest
org.jboss.resteasy.plugins.server.vertx.VertxHttpRequest
All Implemented Interfaces:
HttpRequest

public class VertxHttpRequest extends org.jboss.resteasy.plugins.server.BaseHttpRequest
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 org.jboss.resteasy.specimpl.ResteasyHttpHeaders httpHeaders
    • dispatcher

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

      protected String httpMethod
    • inputStream

      protected InputStream inputStream
    • attributes

      protected Map<String,Object> attributes
    • response

      protected VertxHttpResponse response
  • Constructor Details

    • VertxHttpRequest

      public VertxHttpRequest(io.vertx.core.Context context, io.vertx.core.http.HttpServerRequest request, org.jboss.resteasy.specimpl.ResteasyUriInfo uri, org.jboss.resteasy.core.SynchronousDispatcher dispatcher, VertxHttpResponse response, boolean is100ContinueExpected)
  • Method Details

    • getMutableHeaders

      public jakarta.ws.rs.core.MultivaluedMap<String,String> getMutableHeaders()
    • setHttpMethod

      public void setHttpMethod(String method)
    • getAttributeNames

      public Enumeration<String> getAttributeNames()
    • getAsyncContext

      public ResteasyAsynchronousContext getAsyncContext()
    • isFlushed

      public boolean isFlushed()
    • getAttribute

      public Object getAttribute(String attribute)
    • setAttribute

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

      public void removeAttribute(String name)
    • getHttpHeaders

      public jakarta.ws.rs.core.HttpHeaders getHttpHeaders()
    • getInputStream

      public InputStream getInputStream()
    • setInputStream

      public void setInputStream(InputStream stream)
    • getHttpMethod

      public String getHttpMethod()
    • getResponse

      public VertxHttpResponse getResponse()
    • is100ContinueExpected

      public boolean is100ContinueExpected()
    • forward

      public void forward(String path)
    • wasForwarded

      public boolean wasForwarded()
    • getRemoteHost

      public String getRemoteHost()
    • getRemoteAddress

      public String getRemoteAddress()