public abstract class BaseResponseCompletionHandler
extends org.glassfish.grizzly.EmptyCompletionHandler<org.glassfish.grizzly.WriteResult>
| Modifier and Type | Field and Description |
|---|---|
protected org.glassfish.grizzly.filterchain.FilterChainContext |
ctx |
static int |
DEFAULT_BUFFER_SIZE |
protected org.slf4j.Logger |
logger |
| Modifier | Constructor and Description |
|---|---|
|
BaseResponseCompletionHandler()
Implicit constructor for compatibility purposes
|
protected |
BaseResponseCompletionHandler(org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected org.glassfish.grizzly.http.HttpResponsePacket |
buildHttpResponsePacket(org.glassfish.grizzly.http.HttpRequestPacket sourceRequest,
HttpResponse httpResponse) |
void |
cancelled() |
protected void |
doStart()
Operations to be performed on starting.
|
void |
failed(Throwable throwable) |
void |
start() |
public static final int DEFAULT_BUFFER_SIZE
protected final org.slf4j.Logger logger
protected final org.glassfish.grizzly.filterchain.FilterChainContext ctx
public BaseResponseCompletionHandler()
protected BaseResponseCompletionHandler(org.glassfish.grizzly.filterchain.FilterChainContext ctx)
public void start()
throws IOException
IOExceptionprotected void doStart()
throws IOException
IOException - an error during start phase.protected org.glassfish.grizzly.http.HttpResponsePacket buildHttpResponsePacket(org.glassfish.grizzly.http.HttpRequestPacket sourceRequest,
HttpResponse httpResponse)
public void cancelled()
cancelled in interface org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult>cancelled in class org.glassfish.grizzly.EmptyCompletionHandler<org.glassfish.grizzly.WriteResult>public void failed(Throwable throwable)
failed in interface org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult>failed in class org.glassfish.grizzly.EmptyCompletionHandler<org.glassfish.grizzly.WriteResult>Copyright © 2003–2020 MuleSoft, Inc.. All rights reserved.