org.beangle.commons.web.filter

RegexRequestMatcher

class RegexRequestMatcher extends RequestMatcher with Logging

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.

Linear Supertypes
Logging, RequestMatcher, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RegexRequestMatcher
  2. Logging
  3. RequestMatcher
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RegexRequestMatcher(patternStr: String, method: String, caseInsensitive: Boolean)

    Creates a case-sensitive Pattern instance to match against the request.

  2. new RegexRequestMatcher(pattern: Pattern, method: String)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def debug(msg: ⇒ String, t: ⇒ Throwable): Unit

    Definition Classes
    Logging
    Annotations
    @elidable( 500 )
  7. final def debug(msg: ⇒ String): Unit

    Definition Classes
    Logging
    Annotations
    @elidable( 500 )
  8. final def debugEnabled: Boolean

    Definition Classes
    Logging
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. final def error(msg: ⇒ String, t: ⇒ Throwable): Unit

    Definition Classes
    Logging
  12. final def error(msg: ⇒ String): Unit

    Definition Classes
    Logging
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def info(msg: ⇒ String, t: ⇒ Throwable): Unit

    Definition Classes
    Logging
  17. final def info(msg: ⇒ String): Unit

    Definition Classes
    Logging
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def matches(request: HttpServletRequest): Boolean

    Performs the match of the request URL ( servletPath + pathInfo + queryString) against the compiled pattern.

    Performs the match of the request URL ( servletPath + pathInfo + queryString) against the compiled pattern.

    request

    the request to check for a match

    returns

    true if the request matches, false otherwise

    Definition Classes
    RegexRequestMatcherRequestMatcher
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. final def trace(msg: ⇒ String, t: ⇒ Throwable): Unit

    Definition Classes
    Logging
    Annotations
    @elidable( 300 )
  26. final def trace(msg: ⇒ String): Unit

    Definition Classes
    Logging
    Annotations
    @elidable( 300 )
  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def warn(msg: ⇒ String, t: ⇒ Throwable): Unit

    Definition Classes
    Logging
  31. final def warn(msg: ⇒ String): Unit

    Definition Classes
    Logging

Inherited from Logging

Inherited from RequestMatcher

Inherited from AnyRef

Inherited from Any

Ungrouped