Package org.apache.myfaces.application
Class FacesServletMappingUtils
- java.lang.Object
-
- org.apache.myfaces.application.FacesServletMappingUtils
-
public class FacesServletMappingUtils extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFacesServletMappingUtils.ServletRegistrationInfoWrapper for better performance
-
Constructor Summary
Constructors Constructor Description FacesServletMappingUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FacesServletMappingcalculateFacesServletMapping(FacesContext facesContext, String servletPath, String pathInfo, boolean allowExactMapping)static FacesServletMappinggetCurrentRequestFacesServletMapping(FacesContext context)static FacesServletMappinggetExactMapping(FacesContext facesContext, String prefixedExactMappingViewId)static FacesServletMappingUtils.ServletRegistrationInfogetFacesServletRegistration(FacesContext facesContext, javax.servlet.ServletContext servletContext)static FacesServletMappinggetGenericPrefixOrSuffixMapping(FacesContext facesContext)static List<FacesServletMappingUtils.ServletRegistrationInfo>getServletRegistrations(FacesContext facesContext, javax.servlet.ServletContext servletContext)static booleanisFacesServlet(FacesContext facesContext, String servletClassName)
-
-
-
Method Detail
-
getCurrentRequestFacesServletMapping
public static FacesServletMapping getCurrentRequestFacesServletMapping(FacesContext context)
-
getServletRegistrations
public static List<FacesServletMappingUtils.ServletRegistrationInfo> getServletRegistrations(FacesContext facesContext, javax.servlet.ServletContext servletContext)
-
getFacesServletRegistration
public static FacesServletMappingUtils.ServletRegistrationInfo getFacesServletRegistration(FacesContext facesContext, javax.servlet.ServletContext servletContext)
-
isFacesServlet
public static boolean isFacesServlet(FacesContext facesContext, String servletClassName)
-
calculateFacesServletMapping
public static FacesServletMapping calculateFacesServletMapping(FacesContext facesContext, String servletPath, String pathInfo, boolean allowExactMapping)
-
getExactMapping
public static FacesServletMapping getExactMapping(FacesContext facesContext, String prefixedExactMappingViewId)
-
getGenericPrefixOrSuffixMapping
public static FacesServletMapping getGenericPrefixOrSuffixMapping(FacesContext facesContext)
-
-