Package io.goobi.viewer.servlets.utils
Class ServletUtils
java.lang.Object
io.goobi.viewer.servlets.utils.ServletUtils
Utility class providing helper methods for servlet request processing and response handling.
-
Method Summary
-
Method Details
-
getServletPathWithHostAsUrlFromRequest
retrieve complete Servlet url from servlet context, including Url, Port, Servletname etc. callable without jsf context- Parameters:
request- aHttpServletRequestobject.- Returns:
- complete url as string
-
getServletPathWithoutHostAsUrlFromRequest
Retrieve complete Servlet url from servlet context, including Url, Port, callable without jsf servletName.- Parameters:
request- aHttpServletRequestobject.- Returns:
- complete url as string
-