org.beangle.web.servlet.filter

Type members

Classlikes

class AntPathRequestMatcher(val pattern: AntPathPattern, val method: String) extends RequestMatcher

Matcher which compares a pre-defined ant-style pattern against the URL ( servletPath + pathInfo) of an HttpServletRequest. The query string of the URL is ignored and matching is case-insensitive.

Matcher which compares a pre-defined ant-style pattern against the URL ( servletPath + pathInfo) of an HttpServletRequest. The query string of the URL is ignored and matching is case-insensitive.

See also:

AntPathMatcher

class DelegatingFilterProxy(delegate: Filter) extends GenericHttpFilter

Proxy for a standard Servlet 5.0 Filter, delegating to a managed bean that implements the Filter interface. Supports a "targetBeanName" filter init-param in web.xml, specifying the name of the target bean in the application context.

Proxy for a standard Servlet 5.0 Filter, delegating to a managed bean that implements the Filter interface. Supports a "targetBeanName" filter init-param in web.xml, specifying the name of the target bean in the application context.

abstract class GenericHttpFilter extends Filter with Initializing
class MatchedCompositeFilter(urlMap: Map[String, List[Filter]]) extends GenericCompositeFilter
Companion:
object
class MockFilter extends Filter

A simple filter that the test case can delegate to.

A simple filter that the test case can delegate to.

Once per request filter.

Once per request filter.

Since:

3.0.0

class RegexRequestMatcher(pattern: Pattern, method: String) extends RequestMatcher

Uses a regular expression to decide whether a supplied the URL of a supplied HttpServletRequest. Can also be configured to match a specific HTTP method. The match is performed against the servletPath + pathInfo + queryString of the request and is case-sensitive by default. Case-insensitive matching can be used by using the constructor which takes the caseInsentitive argument.

Uses a regular expression to decide whether a supplied the URL of a supplied HttpServletRequest. Can also be configured to match a specific HTTP method. The match is performed against the servletPath + pathInfo + queryString of the request and is case-sensitive by default. Case-insensitive matching can be used by using the constructor which takes the caseInsentitive argument.

Simple strategy to match an HttpServletRequest.

Simple strategy to match an HttpServletRequest.

class VirtualFilterChain(val originalChain: FilterChain, val filterIter: Iterator[_ <: Filter]) extends FilterChain

A FilterChain that records whether or not [[FilterChain# doFilter ( jakarta.servlet.ServletRequest, jakarta.servlet.ServletResponse)]] is called.

A FilterChain that records whether or not [[FilterChain# doFilter ( jakarta.servlet.ServletRequest, jakarta.servlet.ServletResponse)]] is called.