org.glassfish.jersey.process.internal
Interface RequestProcessor.AcceptingContext

Enclosing interface:
RequestProcessor

public static interface RequestProcessor.AcceptingContext

Request accepting context.


Method Summary
 com.google.common.base.Optional<Inflector<Request,Response>> getInflector()
          Get the (optional) request to response inflector.
 void setInflector(Inflector<Request,Response> inflector)
          Set the request to response inflector.
 void setInflector(com.google.common.base.Optional<Inflector<Request,Response>> inflector)
          Set the request to response inflector optionally.
 

Method Detail

setInflector

void setInflector(Inflector<Request,Response> inflector)
Set the request to response inflector. This method can be used in a non-terminal stage to set the inflector that can be retrieved and processed by a subsequent stage.

Parameters:
inflector - request to response inflector. Must not be null.

setInflector

void setInflector(com.google.common.base.Optional<Inflector<Request,Response>> inflector)
Set the request to response inflector optionally. This method can be used in a non-terminal stage to optionally set the inflector that can be retrieved and processed by a subsequent stage.

Parameters:
inflector - optional request to response inflector. Must not be null.

getInflector

com.google.common.base.Optional<Inflector<Request,Response>> getInflector()
Get the (optional) request to response inflector.

Returns:
optional request to response inflector.


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