Class RestletHttpRequest
- java.lang.Object
-
- org.jboss.resteasy.plugins.server.BaseHttpRequest
-
- org.restlet.ext.jaxrs.internal.resteasy.RestletHttpRequest
-
- All Implemented Interfaces:
org.jboss.resteasy.spi.HttpRequest
@Deprecated public class RestletHttpRequest extends org.jboss.resteasy.plugins.server.BaseHttpRequestDeprecated.Will be removed in next minor release.RESTEasy HTTP request wrapper for Restlet requests.
-
-
Field Summary
Fields Modifier and Type Field Description private org.jboss.resteasy.core.SynchronousDispatcherdispatcherDeprecated.private org.jboss.resteasy.specimpl.ResteasyHttpHeadershttpHeadersDeprecated.private org.jboss.resteasy.spi.HttpResponsehttpResponseDeprecated.private RequestrequestDeprecated.The wrapped Restlet request.private org.jboss.resteasy.spi.ResteasyUriInfouriInfoDeprecated.
-
Constructor Summary
Constructors Constructor Description RestletHttpRequest(org.jboss.resteasy.core.SynchronousDispatcher dispatcher, Request request, Response response)Deprecated.Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected org.jboss.resteasy.specimpl.ResteasyHttpHeaderscreateHttpHeaders()Deprecated.Creates a RESTEasy HTTP headers object.static org.jboss.resteasy.spi.ResteasyUriInfocreateUriInfo(Reference reference)Deprecated.Creates a RESTEasy URI info object.voidforward(java.lang.String path)Deprecated.org.jboss.resteasy.spi.ResteasyAsynchronousContextgetAsyncContext()Deprecated.java.lang.ObjectgetAttribute(java.lang.String name)Deprecated.java.util.Enumeration<java.lang.String>getAttributeNames()Deprecated.javax.ws.rs.core.HttpHeadersgetHttpHeaders()Deprecated.java.lang.StringgetHttpMethod()Deprecated.java.io.InputStreamgetInputStream()Deprecated.javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String>getMutableHeaders()Deprecated.RequestgetRequest()Deprecated.Returns the wrapped Restlet request.org.jboss.resteasy.spi.ResteasyUriInfogetUri()Deprecated.voidremoveAttribute(java.lang.String name)Deprecated.voidsetAttribute(java.lang.String name, java.lang.Object value)Deprecated.voidsetHttpMethod(java.lang.String name)Deprecated.voidsetInputStream(java.io.InputStream stream)Deprecated.voidsetRequestUri(java.net.URI uri)Deprecated.voidsetRequestUri(java.net.URI baseUri, java.net.URI requestUri)Deprecated.booleanwasForwarded()Deprecated.
-
-
-
Field Detail
-
httpHeaders
private final org.jboss.resteasy.specimpl.ResteasyHttpHeaders httpHeaders
Deprecated.
-
request
private final Request request
Deprecated.The wrapped Restlet request.
-
uriInfo
private final org.jboss.resteasy.spi.ResteasyUriInfo uriInfo
Deprecated.
-
dispatcher
private final org.jboss.resteasy.core.SynchronousDispatcher dispatcher
Deprecated.
-
httpResponse
private final org.jboss.resteasy.spi.HttpResponse httpResponse
Deprecated.
-
-
Constructor Detail
-
RestletHttpRequest
public RestletHttpRequest(org.jboss.resteasy.core.SynchronousDispatcher dispatcher, Request request, Response response) throws java.net.URISyntaxExceptionDeprecated.Constructor.- Parameters:
request- The wrapped Restlet request.response- The wrapped Restlet response.- Throws:
java.net.URISyntaxException
-
-
Method Detail
-
createHttpHeaders
protected org.jboss.resteasy.specimpl.ResteasyHttpHeaders createHttpHeaders()
Deprecated.Creates a RESTEasy HTTP headers object.- Returns:
- A RESTEasy HTTP headers object.
-
createUriInfo
public static org.jboss.resteasy.spi.ResteasyUriInfo createUriInfo(Reference reference)
Deprecated.Creates a RESTEasy URI info object.- Returns:
- A RESTEasy URI info object.
-
forward
public void forward(java.lang.String path)
Deprecated.
-
getAsyncContext
public org.jboss.resteasy.spi.ResteasyAsynchronousContext getAsyncContext()
Deprecated.
-
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
Deprecated.
-
getAttributeNames
public java.util.Enumeration<java.lang.String> getAttributeNames()
Deprecated.
-
getHttpHeaders
public javax.ws.rs.core.HttpHeaders getHttpHeaders()
Deprecated.
-
getHttpMethod
public java.lang.String getHttpMethod()
Deprecated.
-
getInputStream
public java.io.InputStream getInputStream()
Deprecated.
-
getMutableHeaders
public javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> getMutableHeaders()
Deprecated.
-
getRequest
public Request getRequest()
Deprecated.Returns the wrapped Restlet request.- Returns:
- The wrapped Restlet request.
-
getUri
public org.jboss.resteasy.spi.ResteasyUriInfo getUri()
Deprecated.- Specified by:
getUriin interfaceorg.jboss.resteasy.spi.HttpRequest- Overrides:
getUriin classorg.jboss.resteasy.plugins.server.BaseHttpRequest
-
removeAttribute
public void removeAttribute(java.lang.String name)
Deprecated.
-
setAttribute
public void setAttribute(java.lang.String name, java.lang.Object value)Deprecated.
-
setHttpMethod
public void setHttpMethod(java.lang.String name)
Deprecated.
-
setInputStream
public void setInputStream(java.io.InputStream stream)
Deprecated.
-
setRequestUri
public void setRequestUri(java.net.URI uri) throws java.lang.IllegalStateExceptionDeprecated.- Specified by:
setRequestUriin interfaceorg.jboss.resteasy.spi.HttpRequest- Overrides:
setRequestUriin classorg.jboss.resteasy.plugins.server.BaseHttpRequest- Throws:
java.lang.IllegalStateException
-
setRequestUri
public void setRequestUri(java.net.URI baseUri, java.net.URI requestUri) throws java.lang.IllegalStateExceptionDeprecated.- Specified by:
setRequestUriin interfaceorg.jboss.resteasy.spi.HttpRequest- Overrides:
setRequestUriin classorg.jboss.resteasy.plugins.server.BaseHttpRequest- Throws:
java.lang.IllegalStateException
-
wasForwarded
public boolean wasForwarded()
Deprecated.
-
-