Package org.n52.web.common
Class RequestUtils
java.lang.Object
org.n52.web.common.RequestUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IoParametersoverrideQueryLocaleWhenSet(String httpLocale, String defaultLocale, IoParameters query) static StringresolveQueryLessRequestUrl(String externalUrl) Get the requestURLwithout the query parameter
-
Constructor Details
-
RequestUtils
public RequestUtils()
-
-
Method Details
-
overrideQueryLocaleWhenSet
public static IoParameters overrideQueryLocaleWhenSet(String httpLocale, String defaultLocale, IoParameters query) -
resolveQueryLessRequestUrl
Get the requestURLwithout the query parameter- Parameters:
externalUrl- the external URL.- Returns:
- Request
URLwithout query parameter
-