Package | Description |
---|---|
com.yahoo.container.handler |
Contains the handler framework of the container.
|
com.yahoo.container.jdisc | |
com.yahoo.processing.handler |
Modifier and Type | Class and Description |
---|---|
(package private) class |
VipStatusHandler.StatusResponse |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
VipStatusHandler.handle(HttpRequest request) |
HttpResponse |
AccessLogRequestHandler.handle(HttpRequest request) |
Modifier and Type | Class and Description |
---|---|
class |
AsyncHttpResponse
HTTP response which supports async response rendering.
|
class |
EmptyResponse
Placeholder response when no content, only headers and status is to be
returned.
|
class |
ExtendedResponse
An HTTP response supporting async rendering and extended information for logging.
|
private static class |
LoggingRequestHandler.NullResponse |
Modifier and Type | Field and Description |
---|---|
private HttpResponse |
ThreadedHttpRequestHandler.LazyContentChannel.httpResponse |
private HttpResponse |
LoggingRequestHandler.LoggingHandler.httpResponse |
Modifier and Type | Method and Description |
---|---|
abstract HttpResponse |
ThreadedHttpRequestHandler.handle(HttpRequest request)
Override this to implement a synchronous style handler.
|
HttpResponse |
ThreadedHttpRequestHandler.handle(HttpRequest request,
com.yahoo.jdisc.handler.ContentChannel channel)
Override this rather than handle(request) to be able to write to the channel before returning from this method.
|
Modifier and Type | Method and Description |
---|---|
private ExtendedResponse |
LoggingRequestHandler.LoggingHandler.actualOrNullObject(HttpResponse response) |
protected void |
ThreadedHttpRequestHandler.addDateHeader(HttpResponse httpResponse,
long startTime) |
private void |
ThreadedHttpRequestHandler.addResponseHeaders(HttpResponse httpResponse,
long startTime) |
protected LoggingCompletionHandler |
ThreadedHttpRequestHandler.createLoggingCompletionHandler(long startTime,
long renderStartTime,
HttpResponse response,
HttpRequest httpRequest,
ContentChannelOutputStream rendererWiring)
Override this to implement custom access logging.
|
protected LoggingCompletionHandler |
LoggingRequestHandler.createLoggingCompletionHandler(long startTime,
long renderStartTime,
HttpResponse response,
HttpRequest httpRequest,
ContentChannelOutputStream rendererWiring) |
private void |
ThreadedHttpRequestHandler.render(HttpRequest request,
HttpResponse httpResponse,
ThreadedHttpRequestHandler.LazyContentChannel channel,
long startTime)
Render and return whether the channel was closed
|
void |
ThreadedHttpRequestHandler.LazyContentChannel.setHttpResponse(HttpResponse httpResponse)
This must be called before writing to this
|
Constructor and Description |
---|
LoggingHandler(long startTime,
long renderStartTime,
HttpRequest httpRequest,
HttpResponse httpResponse,
ContentChannelOutputStream rendererWiring) |
Modifier and Type | Class and Description |
---|---|
class |
ProcessingResponse
A response from running a request through processing.
|
Modifier and Type | Method and Description |
---|---|
private HttpResponse |
AbstractProcessingHandler.FreezeListener.getHttpResponse(com.yahoo.processing.Response processingResponse)
Returns and lazily creates the http response of this.
|
HttpResponse |
AbstractProcessingHandler.handle(HttpRequest request)
Throws UnsupportedOperationException: Call handle(request, channel instead)
|
HttpResponse |
AbstractProcessingHandler.handle(HttpRequest request,
com.yahoo.jdisc.handler.ContentChannel channel) |
Copyright © 2018. All rights reserved.