Package 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
  Description
  `DefaultContentTypeMatcher()`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### DefaultContentTypeMatcher

    public DefaultContentTypeMatcher()

- ## Method Details

  - ### 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[]>`