Class XContentTypeOptionsMatcher

java.lang.Object
org.pac4j.core.matching.matcher.XContentTypeOptionsMatcher
All Implemented Interfaces:
Matcher

public class XContentTypeOptionsMatcher extends Object implements Matcher
XContent type options header matcher.
Since:
4.0.0
Author:
Jerome Leleu
  • Constructor Details

    • XContentTypeOptionsMatcher

      public XContentTypeOptionsMatcher()
  • Method Details

    • matches

      public boolean matches(WebContext context, SessionStore sessionStore)
      Description copied from interface: Matcher
      Check if the web context matches.
      Specified by:
      matches in interface Matcher
      Parameters:
      context - the web context
      sessionStore - the session store
      Returns:
      whether the web context matches
    • toString

      public String toString()
      Overrides:
      toString in class Object