Package org.apache.catalina.util
Class RequestUtil
java.lang.Object
org.apache.catalina.util.RequestUtil
General purpose request parsing and encoding utility methods.
- Author:
- Craig R. McClanahan, Tim Tye
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringBuffergetRequestURL(HttpServletRequest request) Build an appropriate return value forHttpServletRequest.getRequestURL()based on the provided request object.
- 
Constructor Details- 
RequestUtilpublic RequestUtil()
 
- 
- 
Method Details- 
getRequestURLBuild an appropriate return value forHttpServletRequest.getRequestURL()based on the provided request object. Note that this will also work for instances ofHttpServletRequestWrapper.- Parameters:
- request- The request object for which the URL should be built
- Returns:
- The request URL for the given request object
 
 
-