org.apache.struts2.util

## Class DefaultContentTypeMatcher

- java.lang.Object
- - org.apache.struts2.util.DefaultContentTypeMatcher

- All Implemented Interfaces:
    ContentTypeMatcher<int[]>

      public class DefaultContentTypeMatcher
      extends Object
      implements ContentTypeMatcher<int[]>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultContentTypeMatcher()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int[]` | `compilePattern(String data)`
    `boolean` | `match(Map<String,String> map, String data, int[] expr)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultContentTypeMatcher

          public DefaultContentTypeMatcher()

  - ### Method Detail

    - #### compilePattern

          public int[] compilePattern(String data)

      Specified by:
        `compilePattern` in interface `ContentTypeMatcher<int[]>`

    - #### match

          public boolean match(Map<String,String> map,
                               String data,
                               int[] expr)

      Specified by:
        `match` in interface `ContentTypeMatcher<int[]>`

Copyright © 2000–2024 Apache Software Foundation. All rights reserved.