ContainerRequestType - The request type used by the underlying frameworkContainerResponseType - The response type produced by the underlying frameworkpublic interface LogFormatter<ContainerRequestType,ContainerResponseType>
LambdaContainerHandler class to log each request
processed in the container. You can set the log formatter using the LambdaContainerHandler.setLogFormatter(LogFormatter)
method. The servlet implementation of the container (AwsLambdaServletContainerHandler includes a
default log formatter that produces Apache combined logs. ApacheCombinedServletLogFormatter.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(ContainerRequestType req,
ContainerResponseType res,
javax.ws.rs.core.SecurityContext ctx)
The format method is called by the container handler to produce the log line that should be written to the logs.
|
java.lang.String format(ContainerRequestType req, ContainerResponseType res, javax.ws.rs.core.SecurityContext ctx)
req - The incoming requestres - The completed responsectx - The security context produced based on the requestCopyright © 2018. All Rights Reserved.