Package com.yahoo.container.handler
Class AccessLogRequestHandler
java.lang.Object
com.yahoo.jdisc.AbstractResource
com.yahoo.jdisc.handler.AbstractRequestHandler
com.yahoo.container.jdisc.ThreadedRequestHandler
com.yahoo.container.jdisc.ThreadedHttpRequestHandler
com.yahoo.container.handler.AccessLogRequestHandler
- All Implemented Interfaces:
HttpRequestHandler,RequestHandler,SharedResource
Exposes access log through http.
- Author:
- Haakon Dybdahl
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yahoo.container.jdisc.ThreadedHttpRequestHandler
ThreadedHttpRequestHandler.Context, ThreadedHttpRequestHandler.LazyContentChannelNested classes/interfaces inherited from interface com.yahoo.jdisc.SharedResource
SharedResource.Debug -
Field Summary
Fields inherited from class com.yahoo.container.jdisc.ThreadedHttpRequestHandler
CONTENT_TYPE, logFields inherited from class com.yahoo.container.jdisc.ThreadedRequestHandler
metric, metricUtilFields inherited from interface com.yahoo.jdisc.SharedResource
DEBUG, SYSTEM_PROPERTY_NAME_DEBUG -
Constructor Summary
ConstructorsConstructorDescriptionAccessLogRequestHandler(Executor executor, Metric metric, CircularArrayAccessLogKeeper circularArrayAccessLogKeeper) -
Method Summary
Modifier and TypeMethodDescriptionhandle(HttpRequest request) Override this to implement a synchronous style handler.Methods inherited from class com.yahoo.container.jdisc.ThreadedHttpRequestHandler
addDateHeader, asHttpRequest, createLoggingCompletionHandler, handle, handleRequest, testContextMethods inherited from class com.yahoo.container.jdisc.ThreadedRequestHandler
executor, getRequestType, getTimeout, handleRequest, writeErrorResponseOnOverloadMethods inherited from class com.yahoo.jdisc.handler.AbstractRequestHandler
handleTimeoutMethods inherited from class com.yahoo.jdisc.AbstractResource
currentState, destroy, refer, refer, release, retainCountMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.yahoo.container.jdisc.HttpRequestHandler
requestHandlerSpecMethods inherited from interface com.yahoo.jdisc.handler.RequestHandler
handleRequest, handleTimeoutMethods inherited from interface com.yahoo.jdisc.SharedResource
refer, refer, release
-
Constructor Details
-
AccessLogRequestHandler
@Inject public AccessLogRequestHandler(Executor executor, Metric metric, CircularArrayAccessLogKeeper circularArrayAccessLogKeeper)
-
-
Method Details
-
handle
Description copied from class:ThreadedHttpRequestHandlerOverride this to implement a synchronous style handler.- Specified by:
handlein classThreadedHttpRequestHandler- Parameters:
request- incoming HTTP request- Returns:
- a valid HTTP response for presentation to the user
-