public abstract class HttpRequestImpl extends Object implements HttpRequest
Modifier and Type | Field and Description |
---|---|
protected MultivaluedMap<String,String> |
decodedFormParameters |
protected MultivaluedMap<String,String> |
formParameters |
protected HttpHeaders |
httpHeaders |
protected String |
httpMethod |
protected InputStream |
inputStream |
protected String |
preProcessedPath |
protected UriInfo |
uri |
Constructor and Description |
---|
HttpRequestImpl(InputStream inputStream,
HttpHeaders httpHeaders,
String httpMethod,
UriInfo uri) |
Modifier and Type | Method and Description |
---|---|
void |
complete() |
MultivaluedMap<String,String> |
getDecodedFormParameters() |
MultivaluedMap<String,String> |
getFormParameters()
application/x-www-form-urlencoded parameters
This is here because @FormParam needs it and for when there are servlet filters that eat up the input stream
|
HttpHeaders |
getHttpHeaders() |
String |
getHttpMethod() |
InputStream |
getInputStream() |
String |
getPreprocessedPath()
Encoded preprocessed path with extension mappings and matrix parameters removed
|
UriInfo |
getUri() |
boolean |
isInitial()
Asynchronous HTTP support.
|
boolean |
isSuspended()
Asynchronous HTTP support.
|
boolean |
isTimeout() |
void |
setPreprocessedPath(String path) |
void |
suspend() |
void |
suspend(long timeout) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAsynchronousResponse, getAsynchronousResponse, getAttribute, initialRequestThreadFinished, removeAttribute, setAttribute, setInputStream
protected HttpHeaders httpHeaders
protected InputStream inputStream
protected UriInfo uri
protected String httpMethod
protected String preProcessedPath
protected MultivaluedMap<String,String> formParameters
protected MultivaluedMap<String,String> decodedFormParameters
public HttpRequestImpl(InputStream inputStream, HttpHeaders httpHeaders, String httpMethod, UriInfo uri)
public HttpHeaders getHttpHeaders()
getHttpHeaders
in interface HttpRequest
public InputStream getInputStream()
getInputStream
in interface HttpRequest
public UriInfo getUri()
getUri
in interface HttpRequest
public String getHttpMethod()
getHttpMethod
in interface HttpRequest
public String getPreprocessedPath()
HttpRequest
getPreprocessedPath
in interface HttpRequest
public void setPreprocessedPath(String path)
setPreprocessedPath
in interface HttpRequest
public MultivaluedMap<String,String> getFormParameters()
HttpRequest
getFormParameters
in interface HttpRequest
public MultivaluedMap<String,String> getDecodedFormParameters()
getDecodedFormParameters
in interface HttpRequest
public void suspend()
public void suspend(long timeout)
public void complete()
public boolean isInitial()
HttpRequest
isInitial
in interface HttpRequest
public boolean isSuspended()
HttpRequest
isSuspended
in interface HttpRequest
public boolean isTimeout()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.