public final class VipStatusHandler extends ThreadedHttpRequestHandler
ThreadedHttpRequestHandler.LazyContentChannel
CONTENT_TYPE, DATE
metric
Constructor and Description |
---|
VipStatusHandler(Executor executor,
com.yahoo.container.core.VipStatusConfig vipConfig,
com.yahoo.jdisc.Metric metric) |
VipStatusHandler(Executor executor,
com.yahoo.container.core.VipStatusConfig vipConfig,
com.yahoo.jdisc.Metric metric,
VipStatus vipStatus) |
VipStatusHandler(com.yahoo.container.core.VipStatusConfig vipConfig,
com.yahoo.jdisc.Metric metric,
VipStatus vipStatus)
Create this with a dedicated thread pool to avoid returning an error to VIPs when the regular thread pool is
out of capacity.
|
Modifier and Type | Method and Description |
---|---|
HttpResponse |
handle(HttpRequest request)
Override this to implement a synchronous style handler.
|
addDateHeader, asHttpRequest, createLoggingCompletionHandler, handle, handleRequest
getTimeout, handleRequest
currentState, destroy, refer, release, retainCount
@Inject public VipStatusHandler(com.yahoo.container.core.VipStatusConfig vipConfig, com.yahoo.jdisc.Metric metric, VipStatus vipStatus)
public VipStatusHandler(Executor executor, com.yahoo.container.core.VipStatusConfig vipConfig, com.yahoo.jdisc.Metric metric)
public HttpResponse handle(HttpRequest request)
ThreadedHttpRequestHandler
handle
in class ThreadedHttpRequestHandler
request
- incoming HTTP requestCopyright © 2018. All rights reserved.