public final class WebUtilities extends Object
(This is a cut down version of the class of the same name in the CST Project)
| Modifier and Type | Field and Description |
|---|---|
static String |
WITHIN_CONTEXT_REQUEST_URL_ATTRIBUTE_NAME |
| Constructor and Description |
|---|
WebUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getWithinContextRequestUrl(javax.servlet.http.HttpServletRequest request)
Returns the URL for the given request, starting from AFTER the context path and
including path info and query parameters.
|
public static final String WITHIN_CONTEXT_REQUEST_URL_ATTRIBUTE_NAME
public static String getWithinContextRequestUrl(javax.servlet.http.HttpServletRequest request)
The result is stored in the HttpServletRequest as an Attribute for later
retrieval so as to avoid needed recalculation.
request - Copyright © 2008–2026 The University of Edinburgh. All rights reserved.