Class Processing


  • @Beta
    public final class Processing
    extends ProcessingBase<com.yahoo.processing.Request,​com.yahoo.processing.Response,​com.yahoo.processing.Processor>
    Author:
    Einar M R Rosenvinge, gjoranv
    • Method Detail

      • getChains

        public com.yahoo.processing.execution.chain.ChainRegistry<com.yahoo.processing.Processor> getChains()
        Description copied from class: ProcessingBase
        Returns a registry of configured chains
        Specified by:
        getChains in class ProcessingBase<com.yahoo.processing.Request,​com.yahoo.processing.Response,​com.yahoo.processing.Processor>
      • doProcess

        protected com.yahoo.processing.Response doProcess​(com.yahoo.component.chain.Chain<com.yahoo.processing.Processor> chain,
                                                          com.yahoo.processing.Request request)
        Specified by:
        doProcess in class ProcessingBase<com.yahoo.processing.Request,​com.yahoo.processing.Response,​com.yahoo.processing.Processor>
      • doProcessAndRender

        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
        Specified by:
        doProcessAndRender in class ProcessingBase<com.yahoo.processing.Request,​com.yahoo.processing.Response,​com.yahoo.processing.Processor>
        Throws:
        IOException
      • doGetRenderer

        protected com.yahoo.processing.rendering.Renderer<com.yahoo.processing.Response> doGetRenderer​(com.yahoo.component.ComponentSpecification spec)
        Specified by:
        doGetRenderer in class ProcessingBase<com.yahoo.processing.Request,​com.yahoo.processing.Response,​com.yahoo.processing.Processor>