public interface HttpResponseMessage
HttpTrigger.HttpTrigger,
HttpRequestMessage| Modifier and Type | Interface and Description |
|---|---|
static interface |
HttpResponseMessage.Builder
A builder to create an instance of HttpResponseMessage
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getBody()
Returns the body of the HTTP response.
|
String |
getHeader(String key)
Returns a header value for the given key.
|
HttpStatusType |
getStatus()
Returns the HTTP status code set on the HttpResponseMessage instance.
|
default int |
getStatusCode()
Returns the HTTP status code set on the HttpResponseMessage instance.
|
HttpStatusType getStatus()
default int getStatusCode()
String getHeader(String key)
key - The key for which the header value is sought.Object getBody()
Copyright © 2020. All rights reserved.