Class AbstractChainableStage<DATA>

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractChainableStage()
      Create a new chainable acceptor with no next stage set.
      protected AbstractChainableStage​(Stage<DATA> nextStage)
      Create a new chainable acceptor with an initialized default next stage value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Stage<DATA> getDefaultNext()
      Get the default next stage currently configured on the acceptor.
      void setDefaultNext​(Stage<DATA> next)
      Set the default next stage that should be returned from this stage after it has been invoked by default.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.glassfish.jersey.process.internal.Stage

        apply
    • Field Detail

    • Constructor Detail

      • AbstractChainableStage

        protected AbstractChainableStage()
        Create a new chainable acceptor with no next stage set.
      • AbstractChainableStage

        protected AbstractChainableStage​(Stage<DATA> nextStage)
        Create a new chainable acceptor with an initialized default next stage value.
        Parameters:
        nextStage - default next stage.
    • Method Detail

      • setDefaultNext

        public final void setDefaultNext​(Stage<DATA> next)
        Description copied from interface: ChainableStage
        Set the default next stage that should be returned from this stage after it has been invoked by default.
        Specified by:
        setDefaultNext in interface ChainableStage<DATA>
        Parameters:
        next - the next default stage in the chain.
      • getDefaultNext

        public final Stage<DATA> getDefaultNext()
        Get the default next stage currently configured on the acceptor.
        Returns:
        default next stage currently configured on the acceptor.