@Beta public final class Processing extends ProcessingBase<com.yahoo.processing.Request,com.yahoo.processing.Response,com.yahoo.processing.Processor>
Modifier and Type | Field and Description |
---|---|
private com.yahoo.processing.handler.ProcessingHandler |
handler |
Constructor and Description |
---|
Processing(com.yahoo.processing.handler.ProcessingHandler handler) |
Modifier and Type | Method and Description |
---|---|
protected com.yahoo.processing.rendering.Renderer<com.yahoo.processing.Response> |
doGetRenderer(com.yahoo.component.ComponentSpecification spec) |
protected com.yahoo.processing.Response |
doProcess(com.yahoo.component.chain.Chain<com.yahoo.processing.Processor> chain,
com.yahoo.processing.Request request) |
protected com.google.common.util.concurrent.ListenableFuture<Boolean> |
doProcessAndRender(com.yahoo.component.ComponentSpecification chainSpec,
com.yahoo.processing.Request request,
com.yahoo.processing.rendering.Renderer<com.yahoo.processing.Response> renderer,
ByteArrayOutputStream stream) |
com.yahoo.processing.execution.chain.ChainRegistry<com.yahoo.processing.Processor> |
getChains()
Returns a registry of configured chains.
|
getChain, getRenderer, process, processAndRender
public com.yahoo.processing.execution.chain.ChainRegistry<com.yahoo.processing.Processor> getChains()
ProcessingBase
getChains
in class ProcessingBase<com.yahoo.processing.Request,com.yahoo.processing.Response,com.yahoo.processing.Processor>
protected com.yahoo.processing.Response doProcess(com.yahoo.component.chain.Chain<com.yahoo.processing.Processor> chain, com.yahoo.processing.Request request)
doProcess
in class ProcessingBase<com.yahoo.processing.Request,com.yahoo.processing.Response,com.yahoo.processing.Processor>
protected com.google.common.util.concurrent.ListenableFuture<Boolean> doProcessAndRender(com.yahoo.component.ComponentSpecification chainSpec, com.yahoo.processing.Request request, com.yahoo.processing.rendering.Renderer<com.yahoo.processing.Response> renderer, ByteArrayOutputStream stream) throws IOException
doProcessAndRender
in class ProcessingBase<com.yahoo.processing.Request,com.yahoo.processing.Response,com.yahoo.processing.Processor>
IOException
protected com.yahoo.processing.rendering.Renderer<com.yahoo.processing.Response> doGetRenderer(com.yahoo.component.ComponentSpecification spec)
doGetRenderer
in class ProcessingBase<com.yahoo.processing.Request,com.yahoo.processing.Response,com.yahoo.processing.Processor>
Copyright © 2018. All rights reserved.