@Beta public static class MockHttpTransport.Builder extends Object
Modifier | Constructor and Description |
---|---|
protected |
MockHttpTransport.Builder() |
Modifier and Type | Method and Description |
---|---|
MockHttpTransport |
build()
Builds a new instance of
MockHttpTransport . |
Set<String> |
getSupportedMethods()
Returns the supported HTTP methods or
null to specify that all methods are supported. |
MockHttpTransport.Builder |
setSupportedMethods(Set<String> supportedMethods)
Sets the supported HTTP methods or
null to specify that all methods are supported. |
public MockHttpTransport build()
MockHttpTransport
.public final Set<String> getSupportedMethods()
null
to specify that all methods are supported.public final MockHttpTransport.Builder setSupportedMethods(Set<String> supportedMethods)
null
to specify that all methods are supported.Copyright © 2011-2013 Google. All Rights Reserved.