public class Util extends Object
Utilities in support of tag-handler classes.
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static String |
getContentTypeAttribute(String input,
String name)
Get the value associated with a content-type attribute.
|
static Enumeration |
getRequestLocales(HttpServletRequest request)
HttpServletRequest.getLocales() returns the server's default locale
if the request did not specify a preferred language.
|
static int |
getScope(String scope) |
static int |
getStyle(String style,
String errCode) |
public static int getScope(String scope)
public static int getStyle(String style, String errCode) throws JspException
JspException
public static String getContentTypeAttribute(String input, String name)
public static Enumeration getRequestLocales(HttpServletRequest request)
Copyright © 2017 JBoss by Red Hat. All rights reserved.