B
- The body type@Internal
public class AzureFunctionHttpResponse<B>
extends java.lang.Object
implements io.micronaut.servlet.http.ServletHttpResponse<com.microsoft.azure.functions.HttpResponseMessage,B>
ServletHttpResponse
.Modifier and Type | Method and Description |
---|---|
io.micronaut.http.MutableHttpResponse<B> |
body(B body) |
io.micronaut.http.MutableHttpResponse<B> |
cookie(io.micronaut.http.cookie.Cookie cookie) |
io.micronaut.core.convert.value.MutableConvertibleValues<java.lang.Object> |
getAttributes() |
java.util.Optional<B> |
getBody() |
io.micronaut.http.MutableHttpHeaders |
getHeaders() |
com.microsoft.azure.functions.HttpResponseMessage |
getNativeResponse() |
java.io.OutputStream |
getOutputStream() |
io.micronaut.http.HttpStatus |
getStatus() |
java.io.BufferedWriter |
getWriter() |
io.micronaut.http.MutableHttpResponse<B> |
status(io.micronaut.http.HttpStatus status,
java.lang.CharSequence message) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
characterEncoding, characterEncoding, contentEncoding, contentLength, contentType, contentType, cookies, header, headers, headers, locale, status, status, status
accepted, accepted, badRequest, badRequest, body, code, created, created, created, header, noContent, notAllowed, notAllowed, notAllowedGeneric, notFound, notFound, notModified, ok, ok, permanentRedirect, reason, redirect, seeOther, serverError, serverError, setAttribute, status, status, status, temporaryRedirect, unauthorized, unprocessableEntity, uri
public java.io.OutputStream getOutputStream()
getOutputStream
in interface io.micronaut.servlet.http.ServletHttpResponse<com.microsoft.azure.functions.HttpResponseMessage,B>
public java.io.BufferedWriter getWriter()
getWriter
in interface io.micronaut.servlet.http.ServletHttpResponse<com.microsoft.azure.functions.HttpResponseMessage,B>
public io.micronaut.http.MutableHttpResponse<B> cookie(io.micronaut.http.cookie.Cookie cookie)
cookie
in interface io.micronaut.http.MutableHttpResponse<B>
public io.micronaut.http.MutableHttpHeaders getHeaders()
@Nonnull public io.micronaut.core.convert.value.MutableConvertibleValues<java.lang.Object> getAttributes()
getAttributes
in interface io.micronaut.core.attr.AttributeHolder
getAttributes
in interface io.micronaut.core.attr.MutableAttributeHolder
getAttributes
in interface io.micronaut.http.HttpMessage<B>
@Nonnull public java.util.Optional<B> getBody()
getBody
in interface io.micronaut.http.HttpMessage<B>
public io.micronaut.http.MutableHttpResponse<B> status(io.micronaut.http.HttpStatus status, java.lang.CharSequence message)
status
in interface io.micronaut.http.MutableHttpResponse<B>
public io.micronaut.http.HttpStatus getStatus()
getStatus
in interface io.micronaut.http.HttpResponse<B>
public com.microsoft.azure.functions.HttpResponseMessage getNativeResponse()
getNativeResponse
in interface io.micronaut.servlet.http.ServletHttpResponse<com.microsoft.azure.functions.HttpResponseMessage,B>