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

    Constructors
    Modifier
    Constructor
    Description
    protected
    APIGatewayV2HTTPResponseServletResponse(io.micronaut.core.convert.ConversionService conversionService, io.micronaut.function.BinaryTypeConfiguration binaryTypeConfiguration)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPResponse
     

    Methods inherited from class io.micronaut.function.aws.proxy.AbstractServletHttpResponse

    body, code, cookie, getAttributes, getBody, getHeaders, getOutputStream, getWriter, reason, status

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micronaut.core.attr.AttributeHolder

    getAttribute, getAttribute

    Methods inherited from interface io.micronaut.http.HttpMessage

    getBody, getBody, getBody, getBodyWriter, getCharacterEncoding, getContentLength, getContentType, getLocale

    Methods inherited from interface io.micronaut.http.HttpResponse

    body, getCookie, getCookies, getStatus, header, setAttribute, status

    Methods inherited from interface io.micronaut.core.attr.MutableAttributeHolder

    removeAttribute

    Methods inherited from interface io.micronaut.http.MutableHttpMessage

    basicAuth, bearerAuth, bodyWriter

    Methods inherited from interface io.micronaut.http.MutableHttpResponse

    attribute, characterEncoding, characterEncoding, contentEncoding, contentLength, contentType, contentType, cookies, header, headers, headers, locale, status, status, status, toMutableResponse

    Methods inherited from interface io.micronaut.servlet.http.ServletHttpResponse

    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()