예제 #1
0
 public boolean isRequestDelete() {
   return method.equals(MethodType.DELETE);
 }
예제 #2
0
 public boolean isRequestPost() {
   return method.equals(MethodType.POST);
 }
예제 #3
0
 public boolean isRequestPut() {
   return method.equals(MethodType.PUT);
 }
예제 #4
0
 public void setRequestMethod(String m) {
   this.method = MethodType.valueOf(m);
 }