Package org.glassfish.jersey.process
Interface Inflector<DATA,RESULT>
- Type Parameters:
DATA- transformable data type.RESULT- type of result produced by a successful inflector data transformation.
- All Known Implementing Classes:
HttpUrlConnector,JavaNetHttpConnector,JdkConnector,ResourceMethodInvoker,WadlModelProcessor.OptionsHandler
public interface Inflector<DATA,RESULT>
A generic interface for transforming data into a result.
- Author:
- Marek Potociar
-
Method Summary
-
Method Details
-
apply
Transform data of a given type into a result of the different type.- Parameters:
data- data to be transformed into a result.- Returns:
- data transformation result. Return value must not be
null.
-