Class ResponseConversionFunctionFactory


  • @Deprecated
    public class ResponseConversionFunctionFactory
    extends Object
    Deprecated.
    all clients of this version or newer use ResponseConversionFunctionFactoryV2 instead
    Factory class to create the appropriate type of Function to convert a REST Response into its final form.
    • Constructor Detail

      • ResponseConversionFunctionFactory

        public ResponseConversionFunctionFactory()
        Deprecated.
    • Method Detail

      • create

        @Deprecated
        public <T> Function<javax.ws.rs.core.Response,​WithHeaders<T>> create​(Class<T> clazz)
        Deprecated.
        all clients of this version or newer use ResponseConversionFunctionFactoryV2 instead
        Creates a Function that will convert the Response into the given object type.
        Parameters:
        clazz - The type of instance to convert to.
        Returns:
        A new Function.
      • create

        @Deprecated
        public <T> Function<javax.ws.rs.core.Response,​WithHeaders<T>> create​(Class<T> clazz,
                                                                                   ServiceDetails serviceDetails)
        Deprecated.
        all clients of this version or newer use ResponseConversionFunctionFactoryV2 instead
        Creates a Function that will convert the Response into the given object type.
        Parameters:
        clazz - The type of instance to convert to.
        serviceDetails - service details of the Response
        Returns:
        A new Function.
      • create

        @Deprecated
        public <T> Function<javax.ws.rs.core.Response,​WithHeaders<T>> create​(javax.ws.rs.core.GenericType<T> type)
        Deprecated.
        all clients of this version or newer use ResponseConversionFunctionFactoryV2 instead
        Creates a Function that will convert the Response into a parameterized collection object, or some other parameterized type.
        Parameters:
        type - The generic type to convert to.
        Returns:
        A new Function.
      • create

        @Deprecated
        public <T> Function<javax.ws.rs.core.Response,​WithHeaders<T>> create​(javax.ws.rs.core.GenericType<T> type,
                                                                                   ServiceDetails serviceDetails)
        Deprecated.
        all clients of this version or newer use ResponseConversionFunctionFactoryV2 instead
        Creates a Function that will convert the Response into a parameterized collection object, or some other parameterized type.
        Parameters:
        type - The generic type to convert to.
        serviceDetails - service details of the Response
        Returns:
        A new Function.