Class ApiGatewayProxyServletResponse<B>
java.lang.Object
io.micronaut.function.aws.proxy.AbstractServletHttpResponse<com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent,B>
io.micronaut.function.aws.proxy.payload1.ApiGatewayProxyServletResponse<B>
- Type Parameters:
B- The body type
- All Implemented Interfaces:
io.micronaut.core.attr.AttributeHolder,io.micronaut.core.attr.MutableAttributeHolder,io.micronaut.http.HttpMessage<B>,io.micronaut.http.HttpResponse<B>,io.micronaut.http.MutableHttpMessage<B>,io.micronaut.http.MutableHttpResponse<B>,io.micronaut.servlet.http.ServletHttpResponse<com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent,B>
@Internal
public class ApiGatewayProxyServletResponse<B>
extends AbstractServletHttpResponse<com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent,B>
Implementation of
ServletHttpResponse for AWS API Gateway Proxy.- Since:
- 4.0.0
- Author:
- Tim Yates
-
Field Summary
Fields inherited from class io.micronaut.function.aws.proxy.AbstractServletHttpResponse
binaryTypeConfiguration, body, headers, status -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedApiGatewayProxyServletResponse(io.micronaut.core.convert.ConversionService conversionService, io.micronaut.function.BinaryTypeConfiguration binaryTypeConfiguration) -
Method Summary
Modifier and TypeMethodDescriptioncom.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEventMethods inherited from class io.micronaut.function.aws.proxy.AbstractServletHttpResponse
body, code, cookie, getAttributes, getBody, getHeaders, getOutputStream, getWriter, reason, statusMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.attr.AttributeHolder
getAttribute, getAttributeMethods inherited from interface io.micronaut.http.HttpMessage
getBody, getBody, getBody, getBodyWriter, getCharacterEncoding, getContentLength, getContentType, getLocaleMethods inherited from interface io.micronaut.http.HttpResponse
body, getCookie, getCookies, getStatus, header, setAttribute, statusMethods inherited from interface io.micronaut.core.attr.MutableAttributeHolder
removeAttributeMethods inherited from interface io.micronaut.http.MutableHttpMessage
basicAuth, bearerAuth, bodyWriterMethods inherited from interface io.micronaut.http.MutableHttpResponse
attribute, characterEncoding, characterEncoding, contentEncoding, contentLength, contentType, contentType, cookies, header, headers, headers, locale, status, status, status, toMutableResponseMethods inherited from interface io.micronaut.servlet.http.ServletHttpResponse
stream, stream
-
Constructor Details
-
ApiGatewayProxyServletResponse
protected ApiGatewayProxyServletResponse(io.micronaut.core.convert.ConversionService conversionService, io.micronaut.function.BinaryTypeConfiguration binaryTypeConfiguration)
-
-
Method Details
-
getNativeResponse
public com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent getNativeResponse()
-