Uses of Class
com.yahoo.container.jdisc.HttpResponse
-
Packages that use HttpResponse Package Description com.yahoo.container.handler Contains the handler framework of the container.com.yahoo.container.handler.metrics Exported config packagecom.yahoo.container.handler.test Contains the handler test utilities.com.yahoo.container.jdisc com.yahoo.processing.handler com.yahoo.restapi -
-
Uses of HttpResponse in com.yahoo.container.handler
Methods in com.yahoo.container.handler that return HttpResponse Modifier and Type Method Description HttpResponse
AccessLogRequestHandler. handle(HttpRequest request)
HttpResponse
LogHandler. handle(HttpRequest request)
HttpResponse
VipStatusHandler. handle(HttpRequest request)
-
Uses of HttpResponse in com.yahoo.container.handler.metrics
Subclasses of HttpResponse in com.yahoo.container.handler.metrics Modifier and Type Class Description class
ErrorResponse
class
JsonResponse
Methods in com.yahoo.container.handler.metrics that return HttpResponse Modifier and Type Method Description HttpResponse
HttpHandlerBase. handle(HttpRequest request)
Methods in com.yahoo.container.handler.metrics that return types with arguments of type HttpResponse Modifier and Type Method Description protected abstract java.util.Optional<HttpResponse>
HttpHandlerBase. doHandle(java.net.URI requestUri, Path apiPath, java.lang.String consumer)
protected java.util.Optional<HttpResponse>
MetricsV2Handler. doHandle(java.net.URI requestUri, Path apiPath, java.lang.String consumer)
-
Uses of HttpResponse in com.yahoo.container.handler.test
Methods in com.yahoo.container.handler.test that return HttpResponse Modifier and Type Method Description HttpResponse
MockService. handle(HttpRequest request)
-
Uses of HttpResponse in com.yahoo.container.jdisc
Subclasses of HttpResponse in com.yahoo.container.jdisc Modifier and Type Class 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.Methods in com.yahoo.container.jdisc that return HttpResponse Modifier and Type Method 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.Methods in com.yahoo.container.jdisc with parameters of type HttpResponse Modifier and Type Method Description protected void
ThreadedHttpRequestHandler. addDateHeader(HttpResponse httpResponse, long startTime)
protected LoggingCompletionHandler
LoggingRequestHandler. createLoggingCompletionHandler(long startTime, long renderStartTime, HttpResponse response, HttpRequest httpRequest, ContentChannelOutputStream rendererWiring)
protected LoggingCompletionHandler
ThreadedHttpRequestHandler. createLoggingCompletionHandler(long startTime, long renderStartTime, HttpResponse response, HttpRequest httpRequest, ContentChannelOutputStream rendererWiring)
Override this to implement custom access logging.void
ThreadedHttpRequestHandler.LazyContentChannel. setHttpResponse(HttpResponse httpResponse)
This must be called before writing to this -
Uses of HttpResponse in com.yahoo.processing.handler
Subclasses of HttpResponse in com.yahoo.processing.handler Modifier and Type Class Description class
ProcessingResponse
A response from running a request through processing.Methods in com.yahoo.processing.handler that return HttpResponse Modifier and Type Method Description HttpResponse
AbstractProcessingHandler. handle(HttpRequest request)
Throws UnsupportedOperationException: Call handle(request, channel instead)HttpResponse
AbstractProcessingHandler. handle(HttpRequest request, com.yahoo.jdisc.handler.ContentChannel channel)
-
Uses of HttpResponse in com.yahoo.restapi
Subclasses of HttpResponse in com.yahoo.restapi Modifier and Type Class Description class
ErrorResponse
A HTTP JSON response containing an error code and a messageclass
JacksonJsonResponse<T>
A JSON response using Jackson for serialization.class
MessageResponse
A 200 ok response with a message in JSON.class
ResourceResponse
Returns a response containing an array of links to sub-resourcesclass
SlimeJsonResponse
A generic Json response using Slime for JSON encodingclass
StringResponse
-