| java.lang.Object | |
| ↳ | com.google.firebase.OutgoingHttpRequest |
Contains the information that describe an HTTP request made by the SDK.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
OutgoingHttpRequest(String method, String url)
Creates an
OutgoingHttpRequest from the HTTP method and URL. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| HttpContent |
getContent()
Returns any content that was sent with the request.
| ||||||||||
| Map<String, Object> |
getHeaders()
Returns the headers set on the request.
| ||||||||||
| String |
getMethod()
Returns the HTTP method of the request.
| ||||||||||
| String |
getUrl()
Returns the URL of the request.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates an OutgoingHttpRequest from the HTTP method and URL.
| method | HTTP method name. |
|---|---|
| url | Target HTTP URL of the request. |
Returns any content that was sent with the request.
Returns the headers set on the request.
Returns the HTTP method of the request.
Returns the URL of the request.