org.cruxframework.crux.core.server.rest.util
Class HttpMethodHelper

java.lang.Object
  extended by org.cruxframework.crux.core.server.rest.util.HttpMethodHelper

public class HttpMethodHelper
extends Object

Author:
Thiago da Rosa de Bustamante

Constructor Summary
HttpMethodHelper()
           
 
Method Summary
static CacheInfo getCacheInfoForGET(Method method)
           
static String getHttpMethod(Annotation[] annotations)
           
static String getHttpMethod(Annotation[] annotations, boolean allowNull)
           
static StateValidationModel getStateValidationModel(Method method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpMethodHelper

public HttpMethodHelper()
Method Detail

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 © 2014. All rights reserved.