Package net.officefloor.web.build
Interface HttpPathFactory<T>
-
- All Known Implementing Classes:
HttpPathFactoryImpl
public interface HttpPathFactory<T>
Creates the HTTP path.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
createApplicationClientPath(T values)
Creates the client application path.java.lang.Class<T>
getValuesType()
Obtains the expected type to retrieve values in constructing the path.
-
-
-
Method Detail
-
getValuesType
java.lang.Class<T> getValuesType()
Obtains the expected type to retrieve values in constructing the path.- Returns:
- Expected type to retrieve values in constructing the path. May be
null
if no values are required.
-
createApplicationClientPath
java.lang.String createApplicationClientPath(T values) throws HttpException
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 includeprotocol
,domain
andport
.- Parameters:
values
- Optional object to obtain values to create the path.- Returns:
- Application path.
- Throws:
HttpException
- If fails to create the application path.
-
-