Uses of Enum Class
jakarta.servlet.DispatcherType
Packages that use DispatcherType
Package
Description
The jakarta.servlet package contains a number of classes and interfaces that describe and define the contracts between a servlet class and the runtime environment provided for an instance of such a class by a conforming servlet container.
-
Uses of DispatcherType in jakarta.servlet
Methods in jakarta.servlet that return DispatcherTypeModifier and TypeMethodDescriptionServletRequest.getDispatcherType()Gets the dispatcher type of this request.ServletRequestWrapper.getDispatcherType()Gets the dispatcher type of the wrapped request.static DispatcherTypeReturns the enum constant of this class with the specified name.static DispatcherType[]DispatcherType.values()Returns an array containing the constants of this enum class, in the order they are declared.Method parameters in jakarta.servlet with type arguments of type DispatcherTypeModifier and TypeMethodDescriptionvoidFilterRegistration.addMappingForServletNames(EnumSet<DispatcherType> dispatcherTypes, boolean isMatchAfter, String... servletNames) Adds a filter mapping with the given servlet names and dispatcher types for the Filter represented by this FilterRegistration.voidFilterRegistration.addMappingForUrlPatterns(EnumSet<DispatcherType> dispatcherTypes, boolean isMatchAfter, String... urlPatterns) Adds a filter mapping with the given url patterns and dispatcher types for the Filter represented by this FilterRegistration. -
Uses of DispatcherType in org.glassfish.grizzly.servlet
Fields in org.glassfish.grizzly.servlet declared as DispatcherTypeModifier and TypeFieldDescriptionprotected final DispatcherTypeDispatchedHttpServletRequest.dispatcherTypeThe dispatcher type.Methods in org.glassfish.grizzly.servlet that return DispatcherTypeModifier and TypeMethodDescriptionDispatchedHttpServletRequest.getDispatcherType()HttpServletRequestImpl.getDispatcherType()Gets the dispatcher type of this request.Methods in org.glassfish.grizzly.servlet that return types with arguments of type DispatcherTypeMethods in org.glassfish.grizzly.servlet with parameters of type DispatcherTypeModifier and TypeMethodDescriptionorg.glassfish.grizzly.servlet.FilterChainImplFilterChainFactory.createFilterChain(ServletRequest request, Servlet servlet, DispatcherType dispatcherType) Construct and return a FilterChain implementation that will wrap the execution of the specified servlet instance.org.glassfish.grizzly.servlet.FilterChainImplFilterChainFactory.createFilterChain(Request request, Servlet servlet, DispatcherType dispatcherType) Construct and return a FilterChain implementation that will wrap the execution of the specified servlet instance.Method parameters in org.glassfish.grizzly.servlet with type arguments of type DispatcherTypeModifier and TypeMethodDescriptionvoidFilterRegistration.addMappingForServletNames(EnumSet<DispatcherType> dispatcherTypes, boolean isMatchAfter, String... servletNames) Adds a filter mapping with the given servlet names and dispatcher types for the Filter represented by this FilterRegistration.voidFilterRegistration.addMappingForServletNames(EnumSet<DispatcherType> dispatcherTypes, String... servletNames) Adds a filter mapping with the given servlet names and dispatcher types for the Filter represented by this FilterRegistration.voidFilterRegistration.addMappingForUrlPatterns(EnumSet<DispatcherType> dispatcherTypes, boolean isMatchAfter, String... urlPatterns) Adds a filter mapping with the given url patterns and dispatcher types for the Filter represented by this FilterRegistration.voidFilterRegistration.addMappingForUrlPatterns(EnumSet<DispatcherType> dispatcherTypes, String... urlPatterns) Adds a filter mapping with the given url patterns and dispatcher types for the Filter represented by this FilterRegistration.voidFilterMap.setDispatcherTypes(Set<DispatcherType> dispatcherTypes) Constructors in org.glassfish.grizzly.servlet with parameters of type DispatcherTypeModifierConstructorDescriptionDispatchedHttpServletRequest(HttpServletRequest request, WebappContext context, boolean crossContext, DispatcherType dispatcherType) Construct a new wrapped request around the specified servlet request.