org.apache.struts2.util
Class DefaultContentTypeMatcher

java.lang.Object
  extended by org.apache.struts2.util.DefaultContentTypeMatcher
All Implemented Interfaces:
ContentTypeMatcher<int[]>

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


Constructor Summary
DefaultContentTypeMatcher()
           
 
Method Summary
 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-2017 Apache Software Foundation. All Rights Reserved.