|
|||||||||
| Home >> All >> org >> apache >> [ http overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.http
Interface HttpResponse

- All Superinterfaces:
- HttpMessage
- public interface HttpResponse
- extends HttpMessage
An HTTP response.
- Since:
- 4.0
- Version:
- $Revision: 391135 $
| Method Summary | |
HttpEntity |
getEntity()
Returns the response entity of this response as set by |
StatusLine |
getStatusLine()
Returns the status line that belongs to this response as set by |
void |
setEntity(HttpEntity entity)
Associates a response entity with this response. |
void |
setStatusCode(int code)
Convenience method that creates and sets a new status line of this response that is initialized with the specified status code. |
void |
setStatusLine(StatusLine statusline)
Sets the status line that belongs to this response. |
| Methods inherited from interface org.apache.http.HttpMessage |
addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getHttpVersion, getLastHeader, getParams, headerIterator, removeHeader, removeHeaders, setHeader, setParams |
| Method Detail |
getStatusLine
public StatusLine getStatusLine()
- Returns the status line that belongs to this response as set by
setStatusLine
public void setStatusLine(StatusLine statusline)
- Sets the status line that belongs to this response.
setStatusCode
public void setStatusCode(int code)
- Convenience method that creates and sets a new status line of this
response that is initialized with the specified status code.
getEntity
public HttpEntity getEntity()
- Returns the response entity of this response as set by
setEntity
public void setEntity(HttpEntity entity)
- Associates a response entity with this response.
|
|||||||||
| Home >> All >> org >> apache >> [ http overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC