B - The body type@Internal
public class AzureFunctionHttpRequest<B>
extends java.lang.Object
implements io.micronaut.servlet.http.ServletHttpRequest<com.microsoft.azure.functions.HttpRequestMessage<java.util.Optional<java.lang.String>>,B>, io.micronaut.servlet.http.ServletExchange<com.microsoft.azure.functions.HttpRequestMessage<java.util.Optional<java.lang.String>>,com.microsoft.azure.functions.HttpResponseMessage>
| Constructor and Description |
|---|
AzureFunctionHttpRequest(java.lang.String contextPath,
com.microsoft.azure.functions.HttpRequestMessage<java.util.Optional<java.lang.String>> azureRequest,
io.micronaut.http.codec.MediaTypeCodecRegistry codecRegistry,
com.microsoft.azure.functions.ExecutionContext executionContext)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
io.micronaut.core.convert.value.MutableConvertibleValues<java.lang.Object> |
getAttributes() |
java.util.Optional<B> |
getBody() |
<T> java.util.Optional<T> |
getBody(io.micronaut.core.type.Argument<T> arg) |
io.micronaut.http.cookie.Cookies |
getCookies() |
com.microsoft.azure.functions.ExecutionContext |
getExecutionContext() |
io.micronaut.http.HttpHeaders |
getHeaders() |
java.io.InputStream |
getInputStream() |
io.micronaut.http.HttpMethod |
getMethod() |
java.lang.String |
getMethodName() |
com.microsoft.azure.functions.HttpRequestMessage<java.util.Optional<java.lang.String>> |
getNativeRequest() |
io.micronaut.http.HttpParameters |
getParameters() |
java.io.BufferedReader |
getReader() |
io.micronaut.servlet.http.ServletHttpRequest<com.microsoft.azure.functions.HttpRequestMessage<java.util.Optional<java.lang.String>>,? super java.lang.Object> |
getRequest() |
io.micronaut.servlet.http.ServletHttpResponse<com.microsoft.azure.functions.HttpResponseMessage,? super java.lang.Object> |
getResponse() |
java.net.URI |
getUri() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContextPath, isAsyncSupported, subscribeOnExecutoraccept, create, create, DELETE, DELETE, DELETE, GET, GET, getCertificate, getHttpVersion, getLocale, getPath, getRemoteAddress, getServerAddress, getServerName, getUserPrincipal, getUserPrincipal, HEAD, HEAD, isSecure, mutate, OPTIONS, OPTIONS, PATCH, PATCH, POST, POST, PUT, PUT, setAttributepublic AzureFunctionHttpRequest(java.lang.String contextPath,
com.microsoft.azure.functions.HttpRequestMessage<java.util.Optional<java.lang.String>> azureRequest,
io.micronaut.http.codec.MediaTypeCodecRegistry codecRegistry,
com.microsoft.azure.functions.ExecutionContext executionContext)
contextPath - The context pathazureRequest - The native google requestcodecRegistry - The codec registryexecutionContext - The execution context.public java.lang.String getMethodName()
getMethodName in interface io.micronaut.http.HttpRequest<B>public com.microsoft.azure.functions.ExecutionContext getExecutionContext()
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in interface io.micronaut.servlet.http.ServletHttpRequest<com.microsoft.azure.functions.HttpRequestMessage<java.util.Optional<java.lang.String>>,B>java.io.IOExceptionpublic java.io.BufferedReader getReader()
throws java.io.IOException
getReader in interface io.micronaut.servlet.http.ServletHttpRequest<com.microsoft.azure.functions.HttpRequestMessage<java.util.Optional<java.lang.String>>,B>java.io.IOExceptionpublic com.microsoft.azure.functions.HttpRequestMessage<java.util.Optional<java.lang.String>> getNativeRequest()
getNativeRequest in interface io.micronaut.servlet.http.ServletHttpRequest<com.microsoft.azure.functions.HttpRequestMessage<java.util.Optional<java.lang.String>>,B>@NonNull public io.micronaut.http.cookie.Cookies getCookies()
getCookies in interface io.micronaut.http.HttpRequest<B>@NonNull public io.micronaut.http.HttpParameters getParameters()
getParameters in interface io.micronaut.http.HttpRequest<B>@NonNull public io.micronaut.http.HttpMethod getMethod()
getMethod in interface io.micronaut.http.HttpRequest<B>@NonNull public java.net.URI getUri()
getUri in interface io.micronaut.http.HttpRequest<B>@NonNull public io.micronaut.http.HttpHeaders getHeaders()
getHeaders in interface io.micronaut.http.HttpMessage<B>@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<B>@NonNull public java.util.Optional<B> getBody()
getBody in interface io.micronaut.http.HttpMessage<B>@NonNull
public <T> java.util.Optional<T> getBody(@NonNull
io.micronaut.core.type.Argument<T> arg)
getBody in interface io.micronaut.http.HttpMessage<B>public io.micronaut.servlet.http.ServletHttpRequest<com.microsoft.azure.functions.HttpRequestMessage<java.util.Optional<java.lang.String>>,? super java.lang.Object> getRequest()
getRequest in interface io.micronaut.servlet.http.ServletExchange<com.microsoft.azure.functions.HttpRequestMessage<java.util.Optional<java.lang.String>>,com.microsoft.azure.functions.HttpResponseMessage>public io.micronaut.servlet.http.ServletHttpResponse<com.microsoft.azure.functions.HttpResponseMessage,? super java.lang.Object> getResponse()
getResponse in interface io.micronaut.servlet.http.ServletExchange<com.microsoft.azure.functions.HttpRequestMessage<java.util.Optional<java.lang.String>>,com.microsoft.azure.functions.HttpResponseMessage>