public interface GoogleHttpResponse
extends com.google.cloud.functions.HttpResponse
Modifier and Type | Method and Description |
---|---|
<T> java.util.Optional<T> |
getBody(io.micronaut.core.type.Argument<T> type) |
java.lang.String |
getBodyAsText() |
io.micronaut.http.HttpHeaders |
getHttpHeaders() |
java.lang.String |
getMessage() |
default io.micronaut.http.HttpStatus |
getStatus() |
int |
getStatusCode() |
int getStatusCode()
io.micronaut.http.HttpHeaders getHttpHeaders()
java.lang.String getBodyAsText()
<T> java.util.Optional<T> getBody(io.micronaut.core.type.Argument<T> type)
T
- The body typetype
- The type required@Nullable java.lang.String getMessage()
default io.micronaut.http.HttpStatus getStatus()