Class 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 Detail

      • XContentTypeOptionsMatcher

        public XContentTypeOptionsMatcher()
    • Method Detail

      • matches

        public boolean matches​(WebContext context)
        Description copied from interface: Matcher
        Check if the web context matches.
        Specified by:
        matches in interface Matcher
        Parameters:
        context - the web context
        Returns:
        whether the web context matches