Class ActionDescUtils


  • public class ActionDescUtils
    extends Object
    Author:
    Loc Ha
    • Constructor Detail

      • ActionDescUtils

        public ActionDescUtils()
    • Method Detail

      • isActionResultOrVoid

        public static boolean isActionResultOrVoid​(Method actionMethod)
      • isActionMethod

        public static boolean isActionMethod​(Method method)
      • createEnableAsync

        public static EnableAsync createEnableAsync​(boolean markOnly,
                                                    Class<? extends javax.servlet.AsyncListener> asyncListener)
      • createAuthorize

        public static Authorize createAuthorize​(String[] roles,
                                                String[] policies,
                                                boolean appscope,
                                                boolean reauth)
      • createEnableCors

        public static EnableCors createEnableCors​(String policy)
      • createEnableEtag

        public static EnableEtag createEnableEtag()
      • createEnableGzip

        public static EnableGzip createEnableGzip()
      • createEnableJsonError

        public static EnableJsonError createEnableJsonError()
      • createConsumeType

        public static ConsumeType createConsumeType​(String contentType)