Package com.yahoo.processing.handler
Class ProcessingHandler
- 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.jdisc.LoggingRequestHandler
-
- com.yahoo.processing.handler.AbstractProcessingHandler<com.yahoo.processing.Processor>
-
- com.yahoo.processing.handler.ProcessingHandler
-
- All Implemented Interfaces:
com.yahoo.jdisc.handler.RequestHandler
,com.yahoo.jdisc.SharedResource
public class ProcessingHandler extends AbstractProcessingHandler<com.yahoo.processing.Processor>
A jDisc request handler which invokes a processing chain to produce the response.- Since:
- 5.1.7
- Author:
- Tony Vaagenes
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.yahoo.container.jdisc.LoggingRequestHandler
LoggingRequestHandler.Context
-
Nested classes/interfaces inherited from class com.yahoo.container.jdisc.ThreadedHttpRequestHandler
ThreadedHttpRequestHandler.LazyContentChannel
-
-
Field Summary
-
Fields inherited from class com.yahoo.processing.handler.AbstractProcessingHandler
DEFAULT_RENDERER_ID
-
Fields inherited from class com.yahoo.container.jdisc.ThreadedHttpRequestHandler
CONTENT_TYPE, log
-
Fields inherited from class com.yahoo.container.jdisc.ThreadedRequestHandler
metric
-
-
Constructor Summary
Constructors Constructor Description ProcessingHandler(com.yahoo.container.core.ChainsConfig processingChainsConfig, com.yahoo.component.provider.ComponentRegistry<com.yahoo.processing.Processor> chainedComponents, com.yahoo.component.provider.ComponentRegistry<Renderer> renderers, java.util.concurrent.Executor executor, com.yahoo.container.logging.AccessLog accessLog)
ProcessingHandler(com.yahoo.container.core.ChainsConfig processingChainsConfig, com.yahoo.component.provider.ComponentRegistry<com.yahoo.processing.Processor> chainedComponents, com.yahoo.component.provider.ComponentRegistry<Renderer> renderers, java.util.concurrent.Executor executor, com.yahoo.container.logging.AccessLog accessLog, com.yahoo.jdisc.Metric metric)
ProcessingHandler(com.yahoo.processing.execution.chain.ChainRegistry<com.yahoo.processing.Processor> chainRegistry, com.yahoo.component.provider.ComponentRegistry<Renderer> renderers, java.util.concurrent.Executor executor, com.yahoo.container.logging.AccessLog accessLog)
ProcessingHandler(com.yahoo.processing.execution.chain.ChainRegistry<com.yahoo.processing.Processor> chainRegistry, com.yahoo.component.provider.ComponentRegistry<Renderer> renderers, java.util.concurrent.Executor executor, com.yahoo.container.logging.AccessLog accessLog, com.yahoo.jdisc.Metric metric)
-
Method Summary
-
Methods inherited from class com.yahoo.processing.handler.AbstractProcessingHandler
createExecution, getChainRegistry, getRendererCopy, getRenderers, handle, handle
-
Methods inherited from class com.yahoo.container.jdisc.LoggingRequestHandler
createLoggingCompletionHandler, testOnlyContext
-
Methods inherited from class com.yahoo.container.jdisc.ThreadedHttpRequestHandler
addDateHeader, asHttpRequest, handleRequest
-
Methods inherited from class com.yahoo.container.jdisc.ThreadedRequestHandler
getTimeout, handleRequest
-
Methods inherited from class com.yahoo.jdisc.AbstractResource
currentState, destroy, refer, release, retainCount
-
-
-
-
Constructor Detail
-
ProcessingHandler
public ProcessingHandler(com.yahoo.processing.execution.chain.ChainRegistry<com.yahoo.processing.Processor> chainRegistry, com.yahoo.component.provider.ComponentRegistry<Renderer> renderers, java.util.concurrent.Executor executor, com.yahoo.container.logging.AccessLog accessLog, com.yahoo.jdisc.Metric metric)
-
ProcessingHandler
public ProcessingHandler(com.yahoo.processing.execution.chain.ChainRegistry<com.yahoo.processing.Processor> chainRegistry, com.yahoo.component.provider.ComponentRegistry<Renderer> renderers, java.util.concurrent.Executor executor, com.yahoo.container.logging.AccessLog accessLog)
-
ProcessingHandler
public ProcessingHandler(com.yahoo.container.core.ChainsConfig processingChainsConfig, com.yahoo.component.provider.ComponentRegistry<com.yahoo.processing.Processor> chainedComponents, com.yahoo.component.provider.ComponentRegistry<Renderer> renderers, java.util.concurrent.Executor executor, com.yahoo.container.logging.AccessLog accessLog)
-
ProcessingHandler
@Inject public ProcessingHandler(com.yahoo.container.core.ChainsConfig processingChainsConfig, com.yahoo.component.provider.ComponentRegistry<com.yahoo.processing.Processor> chainedComponents, com.yahoo.component.provider.ComponentRegistry<Renderer> renderers, java.util.concurrent.Executor executor, com.yahoo.container.logging.AccessLog accessLog, com.yahoo.jdisc.Metric metric)
-
-