示例#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);
 }