Response.Listener
Constructor and Description |
---|
HttpResponse(HttpExchange exchange,
Response.Listener listener) |
Modifier and Type | Method and Description |
---|---|
void |
abort()
Attempts to abort the send of this request.
|
long |
conversation() |
HttpFields |
headers() |
Response.Listener |
listener() |
String |
reason() |
HttpResponse |
reason(String reason) |
int |
status() |
HttpResponse |
status(int status) |
String |
toString() |
HttpVersion |
version() |
HttpResponse |
version(HttpVersion version) |
public HttpResponse(HttpExchange exchange, Response.Listener listener)
public HttpVersion version()
public HttpResponse version(HttpVersion version)
public int status()
public HttpResponse status(int status)
public String reason()
reason
in interface Response
Response.status()
public HttpResponse reason(String reason)
public HttpFields headers()
public long conversation()
conversation
in interface Response
public Response.Listener listener()
public void abort()
Response
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.