| 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 |
|---|---|
MockLowLevelHttpRequest |
MockHttpTransport.getLowLevelHttpRequest()
Returns the
MockLowLevelHttpRequest that is associated with this
MockHttpTransport.Builder, or
null if no such instance exists.
|
MockLowLevelHttpRequest |
MockHttpTransport.Builder.getLowLevelHttpRequest()
Returns the
MockLowLevelHttpRequest that is associated with this
MockHttpTransport.Builder, or
null if no such instance exists.
|
MockLowLevelHttpRequest |
MockLowLevelHttpRequest.setResponse(MockLowLevelHttpResponse
Sets the HTTP response to return from
execute().
|
MockLowLevelHttpRequest |
MockLowLevelHttpRequest.setUrl(String
Sets the request URL or
null for none.
|
| Modifier and Type | Method and Description |
|---|---|
MockHttpTransport |
MockHttpTransport.Builder.setLowLevelHttpRequest(MockLowLevelHttpRequest
Sets the
MockLowLevelHttpRequest that will be returned by
MockHttpTransport, if non-
null.
|