org.apache.jasper.tagplugins.jstl
public class Util extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Util.ImportResponseWrapper
Wraps responses to allow us to retrieve results as Strings.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_ENCODING |
static int |
HIGHEST_SPECIAL |
static char[][] |
specialCharactersRepresentation |
static java.lang.String |
VALID_SCHEME_CHAR |
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
escapeXml(java.lang.String buffer)
Performs the following substring replacements
(to facilitate output to XML/HTML pages):
& -> &
< -> <
> -> >
" -> "
' -> '
See also OutSupport.writeEscapedXml().
|
static java.lang.String |
getContentTypeAttribute(java.lang.String input,
java.lang.String name)
Get the value associated with a content-type attribute.
|
static int |
getScope(java.lang.String scope)
Converts the given string description of a scope to the corresponding
PageContext constant.
|
static boolean |
isAbsoluteUrl(java.lang.String url)
Returns true if our current URL is absolute,
false otherwise.
|
static java.lang.String |
resolveUrl(java.lang.String url,
java.lang.String context,
javax.servlet.jsp.PageContext pageContext)
Utility methods
taken from org.apache.taglibs.standard.tag.common.core.UrlSupport
|
static java.lang.String |
stripSession(java.lang.String url)
Strips a servlet session ID from url.
|
public static final java.lang.String VALID_SCHEME_CHAR
public static final java.lang.String DEFAULT_ENCODING
public static final int HIGHEST_SPECIAL
public static char[][] specialCharactersRepresentation
public static int getScope(java.lang.String scope)
scope
- String description of scopepublic static boolean isAbsoluteUrl(java.lang.String url)
public static java.lang.String getContentTypeAttribute(java.lang.String input, java.lang.String name)
public static java.lang.String stripSession(java.lang.String url)
public static java.lang.String escapeXml(java.lang.String buffer)
public static java.lang.String resolveUrl(java.lang.String url, java.lang.String context, javax.servlet.jsp.PageContext pageContext) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.