org.cruxframework.crux.core.server.rest.util
Class HttpMethodHelper
java.lang.Object
org.cruxframework.crux.core.server.rest.util.HttpMethodHelper
public class HttpMethodHelper
- extends Object
- Author:
- Thiago da Rosa de Bustamante
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpMethodHelper
public HttpMethodHelper()
getHttpMethod
public static String getHttpMethod(Annotation[] annotations)
throws InvalidRestMethod
- Parameters:
method -
- Returns:
-
- Throws:
InvalidRestMethod
getHttpMethod
public static String getHttpMethod(Annotation[] annotations,
boolean allowNull)
throws InvalidRestMethod
- Throws:
InvalidRestMethod
getCacheInfoForGET
public static CacheInfo getCacheInfoForGET(Method method)
- Parameters:
method -
- Returns:
getStateValidationModel
public static StateValidationModel getStateValidationModel(Method method)
Copyright © 2015. All rights reserved.