| Constructor and Description |
|---|
ActionDescUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Authorize |
createAuthorize(String[] roles,
String[] policies,
boolean appScope,
boolean reauth) |
static CacheControl |
createCacheControl(String policy) |
static ConsumeType |
createConsumeType(String contentType) |
static ContentLang |
createContentLang(String policy) |
static EnableAsync |
createEnableAsync(boolean markOnly,
Class<? extends javax.servlet.AsyncListener> asyncListener) |
static EnableCache |
createEnableCache(String cacheName,
String key) |
static EnableCors |
createEnableCors(String policy) |
static EnableEtag |
createEnableEtag() |
static EnableFilters |
createEnableFilters(String[] filters) |
static EnableGzip |
createEnableGzip() |
static EnableJsonError |
createEnableJsonError() |
static boolean |
isActionMethod(Method method) |
static boolean |
isActionResultOrVoid(Method actionMethod) |
public static boolean isActionResultOrVoid(Method actionMethod)
public static boolean isActionMethod(Method method)
public static EnableFilters createEnableFilters(String[] filters)
public static ContentLang createContentLang(String policy)
public static EnableAsync createEnableAsync(boolean markOnly, Class<? extends javax.servlet.AsyncListener> asyncListener)
public static Authorize createAuthorize(String[] roles, String[] policies, boolean appScope, boolean reauth)
public static CacheControl createCacheControl(String policy)
public static EnableCors createEnableCors(String policy)
public static EnableCache createEnableCache(String cacheName, String key)
public static EnableEtag createEnableEtag()
public static EnableGzip createEnableGzip()
public static EnableJsonError createEnableJsonError()
public static ConsumeType createConsumeType(String contentType)
Copyright © 2021. All rights reserved.