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

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

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

    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

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