public class HttpContentResponse extends Object implements ContentResponse
Response.Listener
Constructor and Description |
---|
HttpContentResponse(Response response,
byte[] content) |
Modifier and Type | Method and Description |
---|---|
void |
abort()
Attempts to abort the send of this request.
|
byte[] |
content() |
HttpFields |
headers() |
Response.Listener |
listener() |
String |
reason() |
int |
status() |
HttpVersion |
version() |
public HttpContentResponse(Response response, byte[] content)
public Response.Listener listener()
public HttpVersion version()
public int status()
public String reason()
reason
in interface Response
Response.status()
public HttpFields headers()
public void abort()
Response
public byte[] content()
content
in interface ContentResponse
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.