T - The body typepublic class MicronautAwsProxyResponse<T>
extends java.lang.Object
implements io.micronaut.http.MutableHttpResponse<T>, java.io.Closeable
MutableHttpResponse for AWS API proxy.| Modifier and Type | Method and Description |
|---|---|
io.micronaut.http.MutableHttpResponse<T> |
body(T body) |
void |
close() |
io.micronaut.http.MutableHttpResponse<T> |
cookie(io.micronaut.http.cookie.Cookie cookie) |
io.micronaut.core.convert.value.MutableConvertibleValues<java.lang.Object> |
getAttributes() |
java.util.Optional<T> |
getBody() |
io.micronaut.http.MutableHttpHeaders |
getHeaders() |
io.micronaut.http.HttpStatus |
getStatus() |
io.micronaut.http.MutableHttpResponse<T> |
status(io.micronaut.http.HttpStatus status,
java.lang.CharSequence message) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharacterEncoding, characterEncoding, contentEncoding, contentLength, contentType, contentType, header, headers, headers, locale, status, status, statusaccepted, accepted, badRequest, badRequest, body, code, created, created, created, header, noContent, notAllowed, notAllowed, notFound, notFound, notModified, ok, ok, permanentRedirect, reason, redirect, seeOther, serverError, serverError, setAttribute, status, status, status, temporaryRedirect, unauthorized, unprocessableEntity, uri@Nonnull public io.micronaut.core.convert.value.MutableConvertibleValues<java.lang.Object> getAttributes()
getAttributes in interface io.micronaut.core.attr.AttributeHoldergetAttributes in interface io.micronaut.core.attr.MutableAttributeHoldergetAttributes in interface io.micronaut.http.HttpMessage<T>@Nonnull public java.util.Optional<T> getBody()
getBody in interface io.micronaut.http.HttpMessage<T>public io.micronaut.http.MutableHttpResponse<T> cookie(io.micronaut.http.cookie.Cookie cookie)
cookie in interface io.micronaut.http.MutableHttpResponse<T>@Nonnull public io.micronaut.http.MutableHttpHeaders getHeaders()
public io.micronaut.http.MutableHttpResponse<T> status(io.micronaut.http.HttpStatus status, java.lang.CharSequence message)
status in interface io.micronaut.http.MutableHttpResponse<T>public io.micronaut.http.HttpStatus getStatus()
getStatus in interface io.micronaut.http.HttpResponse<T>public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseable