public final class VertxHttpRequest
extends org.jboss.resteasy.plugins.server.BaseHttpRequest
We have this abstraction so that we can reuse marshalling objects in a client framework and serverside framework
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
VertxHttpRequest.VertxExecutionContext |
| Constructor and 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) |
| Modifier and Type | Method and 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() |
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)
public void setHttpMethod(String method)
public Enumeration<String> getAttributeNames()
public org.jboss.resteasy.spi.ResteasyAsynchronousContext getAsyncContext()
public void removeAttribute(String name)
public javax.ws.rs.core.HttpHeaders getHttpHeaders()
public String getRemoteHost()
public String getRemoteAddress()
public InputStream getInputStream()
public void setInputStream(InputStream stream)
public String getHttpMethod()
public VertxHttpResponse getResponse()
public void forward(String path)
public boolean wasForwarded()
Copyright © 2021 JBoss by Red Hat. All rights reserved.