
com.hecloud.runtime.common.enums.HoteamMethod Maven / Gradle / Ivy
package com.hecloud.runtime.common.enums;
/**
* 方法枚举
*
* @author LoveinBJ
*/
public enum HoteamMethod {
/**
*
*/
GET(HttpMethod.GET),
/**
*
*/
POST(HttpMethod.POST),
/**
*
*/
PUT(HttpMethod.PUT),
/**
*
*/
PATCH(HttpMethod.PATCH),
/**
*
*/
TRACE(HttpMethod.TRACE),
/**
*
*/
DELETE(HttpMethod.DELETE),
/**
*
*/
CREATE(HttpMethod.POST),
/**
*
*/
MODIFY(HttpMethod.POST),
/**
*
*/
REMOVE(HttpMethod.DELETE),
/**
*
*/
LIST(HttpMethod.POST),
/**
*
*/
LOAD(HttpMethod.GET),
/**
*
*/
BASIC(HttpMethod.GET),
/**
*
*/
SUBOBJ(HttpMethod.GET),
/**
*
*/
OPERATE(HttpMethod.POST),
/**
*
*/
OTHERS(HttpMethod.POST);
private HttpMethod method;
HoteamMethod(HttpMethod method) {
this.method = method;
}
/**
* @return the method
*/
public HttpMethod getMethod() {
return method;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy