Searched defs:httpMethods (Results 1 - 4 of 4) sorted by relevance

/glassfish-3.1.2/web/web-embed/api/src/main/java/org/glassfish/embeddable/web/config/
H A DWebResourceCollection.java56 * Set<String> httpMethods = new HashSet<String>();
57 * httpMethods.add("GET");
58 * httpMethods.add("POST");
59 * webResource.setHttpMethods(httpMethods);
71 private Set<String> httpMethods; field in class:WebResourceCollection
115 * @param httpMethods the HTTP methods
119 public void setHttpMethods(Set<String> httpMethods) argument
126 this.httpMethods = httpMethods;
135 return httpMethods;
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DWebResourceCollectionImpl.java61 private Set<String> httpMethods; field in class:WebResourceCollectionImpl
71 if (other.httpMethods != null) {
72 this.httpMethods = new HashSet<String>(other.httpMethods);
120 if (this.httpMethods == null) {
121 this.httpMethods = new HashSet<String>();
123 return this.httpMethods;
132 if (httpMethods == null){
135 String[] array = (String[])httpMethods.toArray(new String[0]);
143 public void setHttpMethods(Set<String> httpMethods) { argument
[all...]
H A DWebComponentDescriptor.java114 private List<Method> httpMethods = null; field in class:WebComponentDescriptor
450 if (httpMethods == null) {
451 httpMethods = new ArrayList<Method>();
495 httpMethods.add(m);
512 return httpMethods.toArray(new Method[httpMethods.size()]);
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/web/runtime/
H A DASCacheMapping.java78 String[] httpMethods;
91 httpMethods = cacheMapp[rep].getHttpMethod();
189 if(checkHTTPMethodList(httpMethods,result,compName,descriptor)){
285 boolean checkHTTPMethodList(String[] httpMethods, Result result, ComponentNameConstructor compName,WebBundleDescriptor descriptor ){ argument
288 if (httpMethods != null) {
289 for(int rep=0;rep < httpMethods.length;rep++){
290 if(httpMethods[rep]!=null && !(httpMethods[rep].trim().equals("")))
292 if((httpMethods[rep].equalsIgnoreCase("GET")
293 || httpMethods[re
[all...]

Completed in 22 milliseconds