protected class AsyncMiddleManServlet.ProxyWriter extends Object implements WriteListener
Modifier | Constructor and Description |
---|---|
protected |
ProxyWriter(HttpServletRequest clientRequest,
Response serverResponse) |
Modifier and Type | Method and Description |
---|---|
boolean |
offer(ByteBuffer content,
Callback callback) |
void |
onError(Throwable failure) |
void |
onWritePossible() |
protected ProxyWriter(HttpServletRequest clientRequest, Response serverResponse)
public boolean offer(ByteBuffer content, Callback callback)
public void onWritePossible() throws IOException
onWritePossible
in interface WriteListener
IOException
public void onError(Throwable failure)
onError
in interface WriteListener
Copyright © 1995-2016 Webtide. All Rights Reserved.