Searched refs:httpMethods (Results 1 - 6 of 6) sorted by relevance

/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/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/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...]
/glassfish-3.1.2/tests/embedded/web/web-api/src/test/java/org/glassfish/tests/embedded/web/
H A DEmbeddedSetSecurityTest.java111 Set<String> httpMethods = new HashSet<String>();
112 httpMethods.add("GET");
113 httpMethods.add("POST");
114 webResource.setHttpMethods(httpMethods);
116 //webResource.setHttpMethodOmissions(httpMethods);
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/runtime/web/
H A DCacheMappingNode.java178 String[] httpMethods = descriptor.getHttpMethod();
179 if (httpMethods!=null) {
180 for (int i=0;i<httpMethods.length;i++) {
181 appendTextChild(cacheMapping, RuntimeTagNames.HTTP_METHOD, httpMethods[i]);

Completed in 28 milliseconds