protected class AsyncProxyServlet.StreamWriter extends Object implements WriteListener
| Modifier | Constructor and Description |
|---|---|
protected |
StreamWriter(HttpServletRequest request,
Response proxyResponse) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
complete() |
protected void |
data(byte[] bytes,
int offset,
int length,
Callback callback) |
void |
onError(Throwable failure) |
void |
onWritePossible() |
protected StreamWriter(HttpServletRequest request, Response proxyResponse)
protected void data(byte[] bytes,
int offset,
int length,
Callback callback)
public void onWritePossible()
throws IOException
onWritePossible in interface WriteListenerIOExceptionprotected void complete()
public void onError(Throwable failure)
onError in interface WriteListenerCopyright © 1995–2017 Webtide. All rights reserved.