org.glassfish.jersey.process.internal
Interface Stage<DATA>

Type Parameters:
DATA - processed data type.
All Known Subinterfaces:
ChainableStage<DATA>
All Known Implementing Classes:
AbstractChainableStage, Stages.LinkedStage

public interface Stage<DATA>

Data processing stage that can be used to create dynamic data processing chains.

An stage is a stateless data processing unit that returns a processing continuation.

Author:
Marek Potociar (marek.potociar at oracle.com)

Nested Class Summary
static interface Stage.Builder<DATA>
          Linear stage chain builder.
static class Stage.Continuation<DATA>
          Data processing stage continuation.
 
Method Summary
 Stage.Continuation<DATA> apply(DATA data)
          Performs a data processing task and returns the processed data together with a processing continuation.
 

Method Detail

apply

Stage.Continuation<DATA> apply(DATA data)
Performs a data processing task and returns the processed data together with a processing continuation.

Parameters:
data - data to be transformed.
Returns:
a processing continuation.


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.