Class JaxrsHttpRequestAdapter
java.lang.Object
org.apache.dubbo.rpc.protocol.tri.rest.support.jaxrs.JaxrsHttpRequestAdapter
- All Implemented Interfaces:
org.jboss.resteasy.spi.HttpRequest
public final class JaxrsHttpRequestAdapter
extends Object
implements org.jboss.resteasy.spi.HttpRequest
-
Constructor Summary
ConstructorsConstructorDescriptionJaxrsHttpRequestAdapter(org.apache.dubbo.remoting.http12.HttpRequest request) -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.jboss.resteasy.spi.ResteasyAsynchronousContextgetAttribute(String attribute) javax.ws.rs.core.HttpHeadersorg.jboss.resteasy.spi.ResteasyUriInfogetUri()booleanvoidremoveAttribute(String name) voidsetAttribute(String name, Object value) voidsetHttpMethod(String method) voidsetInputStream(InputStream stream) voidsetRequestUri(URI requestUri) voidsetRequestUri(URI baseUri, URI requestUri) boolean
-
Constructor Details
-
JaxrsHttpRequestAdapter
public JaxrsHttpRequestAdapter(org.apache.dubbo.remoting.http12.HttpRequest request)
-
-
Method Details
-
getHttpHeaders
public javax.ws.rs.core.HttpHeaders getHttpHeaders()- Specified by:
getHttpHeadersin interfaceorg.jboss.resteasy.spi.HttpRequest
-
getMutableHeaders
- Specified by:
getMutableHeadersin interfaceorg.jboss.resteasy.spi.HttpRequest
-
getInputStream
- Specified by:
getInputStreamin interfaceorg.jboss.resteasy.spi.HttpRequest
-
setInputStream
- Specified by:
setInputStreamin interfaceorg.jboss.resteasy.spi.HttpRequest
-
getUri
public org.jboss.resteasy.spi.ResteasyUriInfo getUri()- Specified by:
getUriin interfaceorg.jboss.resteasy.spi.HttpRequest
-
getHttpMethod
- Specified by:
getHttpMethodin interfaceorg.jboss.resteasy.spi.HttpRequest
-
setHttpMethod
- Specified by:
setHttpMethodin interfaceorg.jboss.resteasy.spi.HttpRequest
-
setRequestUri
- Specified by:
setRequestUriin interfaceorg.jboss.resteasy.spi.HttpRequest- Throws:
IllegalStateException
-
setRequestUri
- Specified by:
setRequestUriin interfaceorg.jboss.resteasy.spi.HttpRequest- Throws:
IllegalStateException
-
getFormParameters
- Specified by:
getFormParametersin interfaceorg.jboss.resteasy.spi.HttpRequest
-
getDecodedFormParameters
- Specified by:
getDecodedFormParametersin interfaceorg.jboss.resteasy.spi.HttpRequest
-
getAttribute
- Specified by:
getAttributein interfaceorg.jboss.resteasy.spi.HttpRequest
-
setAttribute
- Specified by:
setAttributein interfaceorg.jboss.resteasy.spi.HttpRequest
-
removeAttribute
- Specified by:
removeAttributein interfaceorg.jboss.resteasy.spi.HttpRequest
-
getAttributeNames
- Specified by:
getAttributeNamesin interfaceorg.jboss.resteasy.spi.HttpRequest
-
getAsyncContext
public org.jboss.resteasy.spi.ResteasyAsynchronousContext getAsyncContext()- Specified by:
getAsyncContextin interfaceorg.jboss.resteasy.spi.HttpRequest
-
isInitial
public boolean isInitial()- Specified by:
isInitialin interfaceorg.jboss.resteasy.spi.HttpRequest
-
forward
- Specified by:
forwardin interfaceorg.jboss.resteasy.spi.HttpRequest
-
wasForwarded
public boolean wasForwarded()- Specified by:
wasForwardedin interfaceorg.jboss.resteasy.spi.HttpRequest
-