Class VertxHttpRequest
java.lang.Object
org.jboss.resteasy.plugins.server.BaseHttpRequest
org.jboss.resteasy.plugins.server.vertx.VertxHttpRequest
- All Implemented Interfaces:
HttpRequest
@Deprecated(forRemoval=true,
since="6.2.13.Final")
public class VertxHttpRequest
extends BaseHttpRequest
Deprecated, for removal: This API element is subject to removal in a future version.
use 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 Summary
FieldsModifier and TypeFieldDescriptionDeprecated, for removal: This API element is subject to removal in a future version.protected SynchronousDispatcher
Deprecated, for removal: This API element is subject to removal in a future version.protected ResteasyHttpHeaders
Deprecated, for removal: This API element is subject to removal in a future version.protected String
Deprecated, for removal: This API element is subject to removal in a future version.protected InputStream
Deprecated, for removal: This API element is subject to removal in a future version.protected VertxHttpResponse
Deprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class org.jboss.resteasy.plugins.server.BaseHttpRequest
decodedFormParameters, formParameters, uri
-
Constructor Summary
ConstructorsConstructorDescriptionVertxHttpRequest
(io.vertx.core.Context context, io.vertx.core.http.HttpServerRequest request, ResteasyUriInfo uri, SynchronousDispatcher dispatcher, VertxHttpResponse response, boolean is100ContinueExpected) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getAttribute
(String attribute) Deprecated, for removal: This API element is subject to removal in a future version.Map of contextual data.Deprecated, for removal: This API element is subject to removal in a future version.jakarta.ws.rs.core.HttpHeaders
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Returns the Internet Protocol (IP) address of the client or last proxy that sent the request.Deprecated, for removal: This API element is subject to removal in a future version.Returns the fully qualified name of the client or the last proxy that sent the request.Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.void
removeAttribute
(String name) Deprecated, for removal: This API element is subject to removal in a future version.void
setAttribute
(String name, Object value) Deprecated, for removal: This API element is subject to removal in a future version.void
setHttpMethod
(String method) Deprecated, for removal: This API element is subject to removal in a future version.void
setInputStream
(InputStream stream) Deprecated, for removal: This API element is subject to removal in a future version.If you are using a servlet container, this will *NOT* override the HttpServletRequest.getInputStream().boolean
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.jboss.resteasy.plugins.server.BaseHttpRequest
formParametersRead, getDecodedFormParameters, getFormParameters, getUri, isInitial, setRequestUri, setRequestUri
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jboss.resteasy.spi.HttpRequest
getFormEntityPart, getFormEntityParts
-
Field Details
-
httpHeaders
Deprecated, for removal: This API element is subject to removal in a future version. -
dispatcher
Deprecated, for removal: This API element is subject to removal in a future version. -
httpMethod
Deprecated, for removal: This API element is subject to removal in a future version. -
inputStream
Deprecated, for removal: This API element is subject to removal in a future version. -
attributes
Deprecated, for removal: This API element is subject to removal in a future version. -
response
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
VertxHttpRequest
public VertxHttpRequest(io.vertx.core.Context context, io.vertx.core.http.HttpServerRequest request, ResteasyUriInfo uri, SynchronousDispatcher dispatcher, VertxHttpResponse response, boolean is100ContinueExpected) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getMutableHeaders
Deprecated, for removal: This API element is subject to removal in a future version. -
setHttpMethod
Deprecated, for removal: This API element is subject to removal in a future version. -
getAttributeNames
Deprecated, for removal: This API element is subject to removal in a future version. -
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
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
Deprecated, for removal: This API element is subject to removal in a future version. -
removeAttribute
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
Deprecated, for removal: This API element is subject to removal in a future version. -
setInputStream
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
Deprecated, for removal: This API element is subject to removal in a future version. -
getResponse
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
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. -
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
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
-