Uses of Class
com.google.api.client.testing.http.MockHttpTransport.Builder
-
Packages that use MockHttpTransport.Builder Package Description com.google.api.client.testing.http Beta
Testing utilities used for writing tests based on this library. -
-
Uses of MockHttpTransport.Builder in com.google.api.client.testing.http
Methods in com.google.api.client.testing.http that return MockHttpTransport.Builder Modifier and Type Method Description static MockHttpTransport.Builder
MockHttpTransport. builder()
Deprecated.(to be removed in the future) UseBuilder()
instead.MockHttpTransport.Builder
MockHttpTransport.Builder. setLowLevelHttpRequest(MockLowLevelHttpRequest lowLevelHttpRequest)
Sets theMockLowLevelHttpRequest
that will be returned byMockHttpTransport.buildRequest(java.lang.String, java.lang.String)
, if non-null
.MockHttpTransport.Builder
MockHttpTransport.Builder. setLowLevelHttpResponse(MockLowLevelHttpResponse lowLevelHttpResponse)
Sets theMockLowLevelHttpResponse
that will be the result when theMockLowLevelHttpRequest
returned byMockHttpTransport.buildRequest(java.lang.String, java.lang.String)
is executed.MockHttpTransport.Builder
MockHttpTransport.Builder. setSupportedMethods(Set<String> supportedMethods)
Sets the supported HTTP methods ornull
to specify that all methods are supported.Constructors in com.google.api.client.testing.http with parameters of type MockHttpTransport.Builder Constructor Description MockHttpTransport(MockHttpTransport.Builder builder)
-