public class FacesServletMappingUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FacesServletMappingUtils.ServletRegistrationInfo
Wrapper for better performance
|
Constructor and Description |
---|
FacesServletMappingUtils() |
Modifier and Type | Method and Description |
---|---|
static FacesServletMapping |
calculateFacesServletMapping(FacesContext facesContext,
String servletPath,
String pathInfo,
boolean allowExactMapping) |
static FacesServletMapping |
getCurrentRequestFacesServletMapping(FacesContext context) |
static FacesServletMapping |
getExactMapping(FacesContext facesContext,
String prefixedExactMappingViewId) |
static FacesServletMappingUtils.ServletRegistrationInfo |
getFacesServletRegistration(FacesContext facesContext,
javax.servlet.ServletContext servletContext,
boolean cache) |
static FacesServletMapping |
getGenericPrefixOrSuffixMapping(FacesContext facesContext) |
static List<FacesServletMappingUtils.ServletRegistrationInfo> |
getServletRegistrations(FacesContext facesContext,
javax.servlet.ServletContext servletContext,
boolean cache) |
static boolean |
isFacesServlet(FacesContext facesContext,
String servletClassName) |
public static FacesServletMapping getCurrentRequestFacesServletMapping(FacesContext context)
public static List<FacesServletMappingUtils.ServletRegistrationInfo> getServletRegistrations(FacesContext facesContext, javax.servlet.ServletContext servletContext, boolean cache)
public static FacesServletMappingUtils.ServletRegistrationInfo getFacesServletRegistration(FacesContext facesContext, javax.servlet.ServletContext servletContext, boolean cache)
public static boolean isFacesServlet(FacesContext facesContext, String servletClassName)
public static FacesServletMapping calculateFacesServletMapping(FacesContext facesContext, String servletPath, String pathInfo, boolean allowExactMapping)
public static FacesServletMapping getExactMapping(FacesContext facesContext, String prefixedExactMappingViewId)
public static FacesServletMapping getGenericPrefixOrSuffixMapping(FacesContext facesContext)
Copyright © 2021 The Apache Software Foundation. All rights reserved.