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 Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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<java.lang.Boolean> doProcessAndRender​(com.yahoo.component.ComponentSpecification chainSpec, com.yahoo.processing.Request request, com.yahoo.processing.rendering.Renderer<com.yahoo.processing.Response> renderer, java.io.ByteArrayOutputStream stream)  
      com.yahoo.processing.execution.chain.ChainRegistry<com.yahoo.processing.Processor> getChains()
      Returns a registry of configured chains
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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<java.lang.Boolean> doProcessAndRender​(com.yahoo.component.ComponentSpecification chainSpec,
                                                                                                           com.yahoo.processing.Request request,
                                                                                                           com.yahoo.processing.rendering.Renderer<com.yahoo.processing.Response> renderer,
                                                                                                           java.io.ByteArrayOutputStream stream)
                                                                                                    throws java.io.IOException
        Specified by:
        doProcessAndRender in class ProcessingBase<com.yahoo.processing.Request,​com.yahoo.processing.Response,​com.yahoo.processing.Processor>
        Throws:
        java.io.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>