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(CallContext ctx)
      Check if the context matches.
      Specified by:
      matches in interface Matcher
      Parameters:
      ctx - the context
      Returns:
      whether the context matches