public class DelegatingHttpRequest extends Object implements HttpRequest
| Constructor and Description |
|---|
DelegatingHttpRequest(HttpRequest delegate) |
public DelegatingHttpRequest(HttpRequest delegate)
public MultivaluedMap<String,String> getMutableHeaders()
getMutableHeaders in interface HttpRequestpublic void setHttpMethod(String method)
setHttpMethod in interface HttpRequestpublic ResteasyUriInfo getUri()
HttpRequestgetUri in interface HttpRequestpublic void setRequestUri(URI requestUri) throws IllegalStateException
HttpRequestHttpRequest.getUri().setRequestUri in interface HttpRequestrequestUri - request uriIllegalStateExceptionpublic void setRequestUri(URI baseUri, URI requestUri) throws IllegalStateException
HttpRequestHttpRequest.getUri().setRequestUri in interface HttpRequestbaseUri - base urirequestUri - request uriIllegalStateExceptionpublic HttpHeaders getHttpHeaders()
getHttpHeaders in interface HttpRequestpublic InputStream getInputStream()
getInputStream in interface HttpRequestpublic void setInputStream(InputStream stream)
HttpRequestsetInputStream in interface HttpRequeststream - input streampublic String getHttpMethod()
getHttpMethod in interface HttpRequestpublic MultivaluedMap<String,String> getFormParameters()
HttpRequestThis is here because @FormParam needs it and for when there are servlet filters that eat up the input stream
getFormParameters in interface HttpRequestpublic MultivaluedMap<String,String> getDecodedFormParameters()
getDecodedFormParameters in interface HttpRequestpublic Object getAttribute(String attribute)
HttpRequestgetAttribute in interface HttpRequestattribute - attribute namepublic void setAttribute(String name, Object value)
setAttribute in interface HttpRequestpublic void removeAttribute(String name)
removeAttribute in interface HttpRequestpublic Enumeration<String> getAttributeNames()
getAttributeNames in interface HttpRequestpublic boolean isInitial()
isInitial in interface HttpRequestpublic ResteasyAsynchronousContext getAsyncContext()
getAsyncContext in interface HttpRequestpublic void forward(String path)
forward in interface HttpRequestpublic boolean wasForwarded()
wasForwarded in interface HttpRequestCopyright © 2019 JBoss by Red Hat. All rights reserved.