Class HttpServletRequestFieldSource
java.lang.Object
com.aoapps.net.partialurl.servlet.HttpServletRequestFieldSource
- All Implemented Interfaces:
FieldSource
Obtains fields for
PartialURL
from a HttpServletRequest
.
Implementation Note:
This implementation is not thread safe due to results caching.
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
HttpServletRequestFieldSource
Creates a newHttpServletRequestFieldSource
.
-
-
Method Details
-
getScheme
- Specified by:
getScheme
in interfaceFieldSource
- See Also:
-
getHost
- Specified by:
getHost
in interfaceFieldSource
- Throws:
MalformedURLException
- See Also:
-
getPort
Implementation Note:
The implementation assumesProtocol.TCP
.- Specified by:
getPort
in interfaceFieldSource
- Throws:
MalformedURLException
- See Also:
-
getContextPath
- Specified by:
getContextPath
in interfaceFieldSource
- Throws:
MalformedURLException
- See Also:
-
getPath
- Specified by:
getPath
in interfaceFieldSource
- Throws:
MalformedURLException
- See Also:
-