| java.lang.Object org.geoserver.ows.util.RequestUtils
RequestUtils | public class RequestUtils (Code) | | Utility class performing operations related to http requests.
author: Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org author: TODO: this class needs to be merged with org.vfny.geoserver.Requests. |
baseURL | public static String baseURL(HttpServletRequest req)(Code) | | Pulls out the base url ( from the client point of view ), from the
given request object.
A String of the form "://://" |
proxifiedBaseURL | public static String proxifiedBaseURL(String baseUrl, String proxyBase)(Code) | | Given a base URL and a proxy url (which may or may-not be null)
this method grafts the two together so that the proper 'proxified' or 'non-proxified' url is returned
|
schemaBaseURL | public static String schemaBaseURL(HttpServletRequest req)(Code) | | Returns the url which is hte base of schemas stored / served by
geoserver.
This method returns:
baseURL( req ) + "schemas/"
A String of the form "://://schemas/" |
|
|