Class HttpPathFactoryImpl<T>

  • All Implemented Interfaces:

    public class HttpPathFactoryImpl<T>
    extends java.lang.Object
    implements HttpPathFactory<T>
    Factory to create the HTTP path.
    Daniel Sagenschneider
    • Method Detail

      • getValuesType

        public java.lang.Class<T> getValuesType()
        Description copied from interface: HttpPathFactory
        Obtains the expected type to retrieve values in constructing the path.
        Specified by:
        getValuesType in interface HttpPathFactory<T>
        Expected type to retrieve values in constructing the path. May be null if no values are required.
      • createApplicationClientPath

        public java.lang.String createApplicationClientPath​(T values)
                                                     throws HttpException
        Description copied from interface: HttpPathFactory

        Creates the client application path.

        This is the path on the server to the HttpInput (i.e. includes the context path). It, however, does not include protocol, domain and port.

        Specified by:
        createApplicationClientPath in interface HttpPathFactory<T>
        values - Optional object to obtain values to create the path.
        Application path.
        HttpException - If fails to create the application path.