Class VertxHttpRequest
- java.lang.Object
-
- org.jboss.resteasy.plugins.server.BaseHttpRequest
-
- io.quarkus.resteasy.runtime.standalone.VertxHttpRequest
-
- All Implemented Interfaces:
org.jboss.resteasy.spi.HttpRequest
public final 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 clientWe 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
VertxHttpRequest.VertxExecutionContext
-
Constructor Summary
Constructors Constructor Description VertxHttpRequest(io.vertx.core.Context context, io.vertx.ext.web.RoutingContext routingContext, org.jboss.resteasy.specimpl.ResteasyHttpHeaders httpHeaders, org.jboss.resteasy.specimpl.ResteasyUriInfo uri, String httpMethod, LazyHostSupplier remoteHost, org.jboss.resteasy.core.SynchronousDispatcher dispatcher, VertxHttpResponse response, io.quarkus.arc.ManagedContext requestContext, Executor executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
forward(String path)
org.jboss.resteasy.spi.ResteasyAsynchronousContext
getAsyncContext()
Object
getAttribute(String attribute)
Enumeration<String>
getAttributeNames()
javax.ws.rs.core.HttpHeaders
getHttpHeaders()
String
getHttpMethod()
InputStream
getInputStream()
javax.ws.rs.core.MultivaluedMap<String,String>
getMutableHeaders()
String
getRemoteAddress()
String
getRemoteHost()
VertxHttpResponse
getResponse()
void
removeAttribute(String name)
void
setAttribute(String name, Object value)
void
setHttpMethod(String method)
void
setInputStream(InputStream stream)
boolean
wasForwarded()
-
-
-
Constructor Detail
-
VertxHttpRequest
public VertxHttpRequest(io.vertx.core.Context context, io.vertx.ext.web.RoutingContext routingContext, org.jboss.resteasy.specimpl.ResteasyHttpHeaders httpHeaders, org.jboss.resteasy.specimpl.ResteasyUriInfo uri, String httpMethod, LazyHostSupplier remoteHost, org.jboss.resteasy.core.SynchronousDispatcher dispatcher, VertxHttpResponse response, io.quarkus.arc.ManagedContext requestContext, Executor executor)
-
-
Method Detail
-
setHttpMethod
public void setHttpMethod(String method)
-
getAttributeNames
public Enumeration<String> getAttributeNames()
-
getAsyncContext
public org.jboss.resteasy.spi.ResteasyAsynchronousContext getAsyncContext()
-
removeAttribute
public void removeAttribute(String name)
-
getHttpHeaders
public javax.ws.rs.core.HttpHeaders getHttpHeaders()
-
getRemoteHost
public String getRemoteHost()
-
getRemoteAddress
public String getRemoteAddress()
-
getInputStream
public InputStream getInputStream()
-
setInputStream
public void setInputStream(InputStream stream)
-
getHttpMethod
public String getHttpMethod()
-
getResponse
public VertxHttpResponse getResponse()
-
forward
public void forward(String path)
-
wasForwarded
public boolean wasForwarded()
-
-