public class MicronautAwsProxyResponseFactory
extends java.lang.Object
implements io.micronaut.http.HttpResponseFactory
HttpResponseFactory
that looks up the current
MicronautAwsProxyRequest
and uses that to construct the response.Constructor and Description |
---|
MicronautAwsProxyResponseFactory() |
Modifier and Type | Method and Description |
---|---|
<T> io.micronaut.http.MutableHttpResponse<T> |
ok(T body) |
<T> io.micronaut.http.MutableHttpResponse<T> |
status(io.micronaut.http.HttpStatus status,
java.lang.String reason) |
<T> io.micronaut.http.MutableHttpResponse<T> |
status(io.micronaut.http.HttpStatus status,
T body) |
public <T> io.micronaut.http.MutableHttpResponse<T> ok(T body)
ok
in interface io.micronaut.http.HttpResponseFactory
public <T> io.micronaut.http.MutableHttpResponse<T> status(io.micronaut.http.HttpStatus status, java.lang.String reason)
status
in interface io.micronaut.http.HttpResponseFactory
public <T> io.micronaut.http.MutableHttpResponse<T> status(io.micronaut.http.HttpStatus status, T body)
status
in interface io.micronaut.http.HttpResponseFactory