Package org.apache.myfaces.application
Class FacesServletMappingUtils
java.lang.Object
org.apache.myfaces.application.FacesServletMappingUtils
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Wrapper for better performance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FacesServletMapping
calculateFacesServletMapping
(FacesContext facesContext, String servletPath, String pathInfo, boolean allowExactMapping) static FacesServletMapping
static FacesServletMapping
getExactMapping
(FacesContext facesContext, String prefixedExactMappingViewId) getFacesServletRegistration
(FacesContext facesContext, jakarta.servlet.ServletContext servletContext) static FacesServletMapping
getGenericPrefixOrSuffixMapping
(FacesContext facesContext) getServletRegistrations
(FacesContext facesContext, jakarta.servlet.ServletContext servletContext) static boolean
isFacesServlet
(String servletClassName)
-
Constructor Details
-
FacesServletMappingUtils
public FacesServletMappingUtils()
-
-
Method Details
-
getCurrentRequestFacesServletMapping
-
getServletRegistrations
public static List<FacesServletMappingUtils.ServletRegistrationInfo> getServletRegistrations(FacesContext facesContext, jakarta.servlet.ServletContext servletContext) -
getFacesServletRegistration
public static FacesServletMappingUtils.ServletRegistrationInfo getFacesServletRegistration(FacesContext facesContext, jakarta.servlet.ServletContext servletContext) -
isFacesServlet
-
calculateFacesServletMapping
public static FacesServletMapping calculateFacesServletMapping(FacesContext facesContext, String servletPath, String pathInfo, boolean allowExactMapping) -
getExactMapping
public static FacesServletMapping getExactMapping(FacesContext facesContext, String prefixedExactMappingViewId) -
getGenericPrefixOrSuffixMapping
-