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 response)
Sets the HTTP response to return from
execute() . |
MockLowLevelHttpRequest |
MockLowLevelHttpRequest.setUrl(String url)
Sets the request URL or
null for none. |
Modifier and Type | Method and Description |
---|---|
MockHttpTransport.Builder |
MockHttpTransport.Builder.setLowLevelHttpRequest(MockLowLevelHttpRequest lowLevelHttpRequest)
Sets the
MockLowLevelHttpRequest that will be returned by MockHttpTransport.buildRequest(java.lang.String, java.lang.String) , if
non-null . |
Copyright © 2011–2023 Google. All rights reserved.