| Package | Description |
|---|---|
| com.google.api.client.testing.http |
Beta
Testing utilities used for writing tests based on this library. |
| Modifier and Type | Method and Description |
|---|---|
static MockHttpTransport |
MockHttpTransport.builder()
Deprecated.
(to be removed in the future) Use
Builder#Builder() instead.
|
MockHttpTransport |
MockHttpTransport.Builder.setLowLevelHttpRequest(MockLowLevelHttpRequest
Sets the
MockLowLevelHttpRequest that will be returned by
MockHttpTransport, if non-
null.
|
MockHttpTransport |
MockHttpTransport.Builder.setLowLevelHttpResponse(MockLowLevelHttpResponse
Sets the
MockLowLevelHttpResponse that will be the result when the
MockLowLevelHttpRequest returned by
MockHttpTransport is executed.
|
MockHttpTransport |
MockHttpTransport.Builder.setSupportedMethods(Set
Sets the supported HTTP methods or
null to specify that all methods are supported.
|
| Constructor and Description | |
|---|---|
MockHttpTransport(MockHttpTransport
|