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 UriInfo uriInfo
preProcessedPath
protected String preProcessedPath
inputStream
protected InputStream inputStream
attributes
protected Map<String,Object> attributes
HttpServerRequest
public HttpServerRequest(SynchronousDispatcher dispatcher,
HttpResponse httpResponse,
com.sun.net.httpserver.HttpExchange exchange)
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 UriInfo getUri()
getHttpMethod
public String getHttpMethod()
getPreprocessedPath
public String getPreprocessedPath()
- Description copied from interface:
HttpRequest
- Encoded preprocessed path with extension mappings and matrix parameters removed
- Returns:
setPreprocessedPath
public void setPreprocessedPath(String path)
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)
Copyright © 2012. All Rights Reserved.