Class LoggerGetHandler
- java.lang.Object
-
- com.networknt.aws.lambda.handler.logger.LoggerGetHandler
-
- All Implemented Interfaces:
LambdaHandler
public class LoggerGetHandler extends Object implements LambdaHandler
-
-
Field Summary
Fields Modifier and Type Field Description static StringHANDLER_IS_DISABLED-
Fields inherited from interface com.networknt.aws.lambda.handler.LambdaHandler
DISABLED_LAMBDA_HANDLER_RETURN, SUCCESS_LAMBDA_HANDLER_RETURN
-
-
Constructor Summary
Constructors Constructor Description LoggerGetHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.networknt.status.Statusexecute(LightLambdaExchange exchange)booleanisAsynchronous()Indicate if this middleware handler is asynchronous or not.booleanisEnabled()Indicate if this handler is enabled or not.voidregister()Register this handler to the handler registration.voidreload()Reload config values in case the config values changed by config server.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.networknt.aws.lambda.handler.LambdaHandler
disabledMiddlewareStatus, isResponseMiddleware, successMiddlewareStatus
-
-
-
-
Field Detail
-
HANDLER_IS_DISABLED
public static final String HANDLER_IS_DISABLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
register
public void register()
Description copied from interface:LambdaHandlerRegister this handler to the handler registration.- Specified by:
registerin interfaceLambdaHandler
-
isEnabled
public boolean isEnabled()
Description copied from interface:LambdaHandlerIndicate if this handler is enabled or not.- Specified by:
isEnabledin interfaceLambdaHandler- Returns:
- boolean true if enabled
-
reload
public void reload()
Description copied from interface:LambdaHandlerReload config values in case the config values changed by config server.- Specified by:
reloadin interfaceLambdaHandler
-
isAsynchronous
public boolean isAsynchronous()
Description copied from interface:LambdaHandlerIndicate if this middleware handler is asynchronous or not.- Specified by:
isAsynchronousin interfaceLambdaHandler- Returns:
- boolean true if asynchronous
-
execute
public com.networknt.status.Status execute(LightLambdaExchange exchange)
- Specified by:
executein interfaceLambdaHandler
-
-