Uses of Class
com.yahoo.container.jdisc.HttpResponse
Package
Description
Contains the handler framework of the container.
Exported config package
Contains the handler test utilities.
-
Uses of HttpResponse in com.yahoo.container.handler
Modifier and TypeMethodDescriptionAccessLogRequestHandler.handle
(HttpRequest request) FilterBackingRequestHandler.handle
(HttpRequest request) VipStatusHandler.handle
(HttpRequest request) -
Uses of HttpResponse in com.yahoo.container.handler.metrics
Modifier and TypeMethodDescriptionprotected abstract Optional<HttpResponse>
protected Optional<HttpResponse>
protected Optional<HttpResponse>
-
Uses of HttpResponse in com.yahoo.container.handler.test
-
Uses of HttpResponse in com.yahoo.container.jdisc
Modifier and TypeClassDescriptionclass
HTTP response which supports async response rendering.class
Placeholder response when no content, only headers and status is to be returned.class
An HTTP response supporting async rendering and extended information for logging.Modifier and TypeMethodDescriptionabstract HttpResponse
ThreadedHttpRequestHandler.handle
(HttpRequest request) Override this to implement a synchronous style handler.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 TypeMethodDescriptionprotected void
ThreadedHttpRequestHandler.addDateHeader
(HttpResponse httpResponse, long startTime) protected LoggingCompletionHandler
LoggingRequestHandler.createLoggingCompletionHandler
(long startTime, long renderStartTime, HttpResponse response, HttpRequest httpRequest, ContentChannelOutputStream rendererWiring) Deprecated.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
Modifier and TypeClassDescriptionclass
A response from running a request through processing.Modifier and TypeMethodDescriptionAbstractProcessingHandler.handle
(HttpRequest request) Throws UnsupportedOperationException: Call handle(request, channel instead)AbstractProcessingHandler.handle
(HttpRequest request, com.yahoo.jdisc.handler.ContentChannel channel) -
Uses of HttpResponse in com.yahoo.restapi
Modifier and TypeClassDescriptionclass
class
A HTTP JSON response containing an error code and a messageclass
A JSON response using Jackson for serialization.class
A 200 ok response with a message in JSON.class
A HTTP redirect responseclass
Returns a response containing an array of links to sub-resourcesclass
A generic Json response using Slime for JSON encodingclass
Modifier and TypeMethodDescriptionRestApi.FilterContext.executeNext()
RestApiTestDriver.executeRequest
(HttpRequest request) RestApi.Filter.filterRequest
(RestApi.FilterContext context) final HttpResponse
RestApiRequestHandler.handle
(HttpRequest request) RestApi.handleRequest
(HttpRequest request) RestApiException.response()
RestApi.ResponseMapper.toHttpResponse
(RestApi.RequestContext context, RESPONSE_ENTITY responseEntity) RestApiMappers.JacksonResponseMapper.toHttpResponse
(RestApi.RequestContext context, ENTITY responseEntity) RestApi.ExceptionMapper.toResponse
(RestApi.RequestContext context, EXCEPTION exception) Modifier and TypeMethodDescription<T> T
RestApiTestDriver.parseJacksonResponseContent
(HttpResponse response, com.fasterxml.jackson.core.type.TypeReference<T> type) <T> T
RestApiTestDriver.parseJacksonResponseContent
(HttpResponse response, Class<T> type) ModifierConstructorDescriptionRestApiException
(HttpResponse response, String message) RestApiException
(HttpResponse response, String message, Throwable cause)