public 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 |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
attributes |
protected org.jboss.resteasy.core.SynchronousDispatcher |
dispatcher |
protected org.jboss.resteasy.specimpl.ResteasyHttpHeaders |
httpHeaders |
protected String |
httpMethod |
protected InputStream |
inputStream |
protected String |
remoteHost |
protected VertxHttpResponse |
response |
| Constructor and Description |
|---|
VertxHttpRequest(io.vertx.core.Context context,
org.jboss.resteasy.specimpl.ResteasyHttpHeaders httpHeaders,
org.jboss.resteasy.specimpl.ResteasyUriInfo uri,
String httpMethod,
String remoteHost,
org.jboss.resteasy.core.SynchronousDispatcher dispatcher,
VertxHttpResponse response,
boolean is100ContinueExpected) |
| 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() |
boolean |
is100ContinueExpected() |
boolean |
isFlushed() |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object value) |
void |
setHttpMethod(String method) |
void |
setInputStream(InputStream stream) |
boolean |
wasForwarded() |
protected org.jboss.resteasy.specimpl.ResteasyHttpHeaders httpHeaders
protected org.jboss.resteasy.core.SynchronousDispatcher dispatcher
protected String httpMethod
protected String remoteHost
protected InputStream inputStream
protected VertxHttpResponse response
public VertxHttpRequest(io.vertx.core.Context context,
org.jboss.resteasy.specimpl.ResteasyHttpHeaders httpHeaders,
org.jboss.resteasy.specimpl.ResteasyUriInfo uri,
String httpMethod,
String remoteHost,
org.jboss.resteasy.core.SynchronousDispatcher dispatcher,
VertxHttpResponse response,
boolean is100ContinueExpected)
public void setHttpMethod(String method)
public Enumeration<String> getAttributeNames()
public org.jboss.resteasy.spi.ResteasyAsynchronousContext getAsyncContext()
public boolean isFlushed()
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 boolean is100ContinueExpected()
public void forward(String path)
public boolean wasForwarded()
Copyright © 2019 JBoss by Red Hat. All rights reserved.