Class APIGatewayV2HTTPResponseServletResponse<B>
java.lang.Object
io.micronaut.function.aws.proxy.AbstractServletHttpResponse<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPResponse,B>
io.micronaut.function.aws.proxy.payload2.APIGatewayV2HTTPResponseServletResponse<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.APIGatewayV2HTTPResponse,B>
@Internal
public class APIGatewayV2HTTPResponseServletResponse<B>
extends AbstractServletHttpResponse<com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPResponse,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
ConstructorsModifierConstructorDescriptionprotectedAPIGatewayV2HTTPResponseServletResponse(io.micronaut.core.convert.ConversionService conversionService, io.micronaut.function.BinaryTypeConfiguration binaryTypeConfiguration) -
Method Summary
Modifier and TypeMethodDescriptioncom.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPResponseMethods 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, cacheControl, characterEncoding, characterEncoding, contentEncoding, contentLength, contentType, contentType, cookies, header, headers, headers, locale, status, status, status, toMutableResponseMethods inherited from interface io.micronaut.servlet.http.ServletHttpResponse
isCommitted, stream, stream
-
Constructor Details
-
APIGatewayV2HTTPResponseServletResponse
protected APIGatewayV2HTTPResponseServletResponse(io.micronaut.core.convert.ConversionService conversionService, io.micronaut.function.BinaryTypeConfiguration binaryTypeConfiguration)
-
-
Method Details
-
getNativeResponse
public com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPResponse getNativeResponse()
-