public class HttpSender extends Object implements AsyncContentProvider.Listener
Constructor and Description |
---|
HttpSender(HttpConnection connection) |
Modifier and Type | Method and Description |
---|---|
boolean |
abort(Throwable cause) |
protected boolean |
commit(Request request) |
protected boolean |
fail(Throwable failure) |
void |
onContent()
Callback method invoked when content is available
|
void |
proceed(boolean proceed) |
void |
send(HttpExchange exchange) |
protected boolean |
success() |
public HttpSender(HttpConnection connection)
public void onContent()
AsyncContentProvider.Listener
onContent
in interface AsyncContentProvider.Listener
public void send(HttpExchange exchange)
public void proceed(boolean proceed)
protected boolean commit(Request request)
protected boolean success()
protected boolean fail(Throwable failure)
public boolean abort(Throwable cause)
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.