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 |
---|---|
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 . |
MockHttpTransport.Builder |
MockHttpTransport.Builder.setLowLevelHttpResponse(MockLowLevelHttpResponse lowLevelHttpResponse)
Sets the
MockLowLevelHttpResponse that will be the result when the MockLowLevelHttpRequest returned by MockHttpTransport.buildRequest(java.lang.String, java.lang.String) is executed. |
MockHttpTransport.Builder |
MockHttpTransport.Builder.setSupportedMethods(Set<String> supportedMethods)
Sets the supported HTTP methods or
null to specify that all methods are supported. |
Constructor and Description |
---|
MockHttpTransport(MockHttpTransport.Builder builder) |
Copyright © 2011–2020 Google. All rights reserved.