Interface Inflector<DATA,RESULT>

Type Parameters:
DATA - transformable data type.
RESULT - type of result produced by a successful inflector data transformation.
All Known Subinterfaces:
Connector, Endpoint
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

    Modifier and Type
    Method
    Description
    apply(DATA data)
    Transform data of a given type into a result of the different type.
  • Method Details

    • apply

      RESULT apply(DATA data)
      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.