public class MyServerlessEnv extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
Access_Control_Allow_Credentials |
static String |
Access_Control_Allow_Headers |
static String |
Access_Control_Allow_Methods |
static String |
Access_Control_Allow_Origin |
static String |
Access_Control_Max_Age |
static boolean |
allow_debug_info |
static boolean |
allow_java_file_export |
static String |
api_export_file |
static String |
backend_folder |
static String |
call_server_method |
static String |
deploy_package |
static boolean |
is_product_stage |
static Map<String,Class<?>> |
methodTemplates |
static String |
stage |
static TokenSecurity |
tokenSecurity |
static List<String> |
web_files |
| Constructor and Description |
|---|
MyServerlessEnv() |
| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
findCachedClass(String sqlJavaPiece)
Return class stored in deploy package, if not found, return null
|
static String |
getClassesDeployFolder() |
static String |
getClassLoaderFolder() |
static String |
getFrontendFolder() |
static String |
getSrcDeployFolder() |
static String[] |
getSrcWebappFolders() |
static boolean |
isWebFile(String filename) |
static void |
registerMethodTemplate(String methodName,
Class<?> templateClass)
Register customized MyServerless template class
|
public static final boolean allow_debug_info
public static final String stage
public static final boolean is_product_stage
public static final boolean allow_java_file_export
public static final TokenSecurity tokenSecurity
public static final String deploy_package
public static final String backend_folder
public static final String call_server_method
public static final String api_export_file
public static final String Access_Control_Allow_Origin
public static final String Access_Control_Allow_Methods
public static final String Access_Control_Max_Age
public static final String Access_Control_Allow_Headers
public static final String Access_Control_Allow_Credentials
public static void registerMethodTemplate(String methodName, Class<?> templateClass)
methodName - templateClass - public static Class<?> findCachedClass(String sqlJavaPiece)
public static String getClassLoaderFolder()
public static String getClassesDeployFolder()
public static String getSrcDeployFolder()
public static String getFrontendFolder()
public static String[] getSrcWebappFolders()
public static boolean isWebFile(String filename)
Copyright © 2022. All rights reserved.