org.jboss.resteasy.plugins.server.sun.http
Class HttpServerRequest
java.lang.Object
org.jboss.resteasy.plugins.server.BaseHttpRequest
org.jboss.resteasy.plugins.server.sun.http.HttpServerRequest
- All Implemented Interfaces:
- HttpRequest
public class HttpServerRequest
- extends BaseHttpRequest
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exchange
protected com.sun.net.httpserver.HttpExchange exchange
httpHeaders
protected HttpHeaders httpHeaders
uriInfo
protected ResteasyUriInfo uriInfo
preProcessedPath
protected String preProcessedPath
attributes
protected Map<String,Object> attributes
httpMethod
protected String httpMethod
HttpServerRequest
public HttpServerRequest(SynchronousDispatcher dispatcher,
HttpResponse httpResponse,
com.sun.net.httpserver.HttpExchange exchange)
setRequestUri
public void setRequestUri(URI requestUri)
throws IllegalStateException
- Throws:
IllegalStateException
setRequestUri
public void setRequestUri(URI baseUri,
URI requestUri)
throws IllegalStateException
- Throws:
IllegalStateException
getHttpHeaders
public HttpHeaders getHttpHeaders()
getInputStream
public InputStream getInputStream()
setInputStream
public void setInputStream(InputStream stream)
- 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
getUri
public ResteasyUriInfo getUri()
getHttpMethod
public String getHttpMethod()
setHttpMethod
public void setHttpMethod(String method)
getAttribute
public Object getAttribute(String attribute)
- Description copied from interface:
HttpRequest
- Map of contextual data. Similar to HttpServletRequest attributes
- Returns:
setAttribute
public void setAttribute(String name,
Object value)
removeAttribute
public void removeAttribute(String name)
getAttributeNames
public Enumeration<String> getAttributeNames()
getAsyncContext
public ResteasyAsynchronousContext getAsyncContext()
Copyright © 2013. All Rights Reserved.