1 23 24 package com.sun.enterprise.deployment.web; 25 26 import java.util.Set ; 27 import java.util.List ; 28 29 30 public interface ServletFilterMapping { 31 32 public static String TARGET_TYPE_URLPATTERN = "URLPattern"; 33 public static String TARGET_TYPE_SERVLET = "Servlet"; 34 35 public static String INCLUDE = "INCLUDE"; 36 public static String REQUEST = "REQUEST"; 37 public static String FORWARD = "FORWARD"; 38 39 public void setName(String name); 40 public String getName(); 41 42 public void setTargetType(String type); 43 public String getTargetType(); 44 public boolean isURLPatternTarget(); 45 public boolean isServletNameTarget(); 46 47 public void setTarget(String type); 48 public String getTarget(); 49 50 public void addDispatcher(String dispatcher); 51 public Set getDispatchers(); 52 53 public void addURLPattern(String urlPattern); 54 public List <String > getURLPatterns(); 55 public void addServletName(String servletName); 56 public List <String > getServletNames(); 57 } 58 | Popular Tags |