org.glassfish.jersey.process.internal
Interface Responder


public interface Responder

Linear response processing stage.

A continuation of a responder is represented by an (optional) single next responder resulting in a linear response transformation processing.

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

Nested Class Summary
static interface Responder.Builder
          Linear acceptor chain builder.
 
Method Summary
 Pair<Response,com.google.common.base.Optional<Responder>> apply(Response data)
          

The returned continuation is (optionally) the next responder that should be invoked.

 

Method Detail

apply

Pair<Response,com.google.common.base.Optional<Responder>> apply(Response data)

The returned continuation is (optionally) the next responder that should be invoked. A present continuation indicates the processing is expected to continue further, while absence of a continuation indicates that the unidirectional response transformation passed its final stage.



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