|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.client.testing.http.MockHttpTransport.Builder
public static class MockHttpTransport.Builder
Builder for MockHttpTransport.
Implementation is not thread-safe.
| Constructor Summary | |
|---|---|
protected |
MockHttpTransport.Builder()
|
| Method Summary | |
|---|---|
MockHttpTransport |
build()
Builds a new instance of MockHttpTransport. |
Set<HttpMethod> |
getSupportedOptionalMethods()
Returns the set of supported optional methods. |
MockHttpTransport.Builder |
setSupportedOptionalMethods(Set<HttpMethod> supportedOptionalMethods)
Sets the set of supported optional methods. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected MockHttpTransport.Builder()
| Method Detail |
|---|
public MockHttpTransport build()
MockHttpTransport.
public final Set<HttpMethod> getSupportedOptionalMethods()
Default value is MockHttpTransport.DEFAULT_SUPPORTED_OPTIONAL_METHODS.
public MockHttpTransport.Builder setSupportedOptionalMethods(Set<HttpMethod> supportedOptionalMethods)
Default value is MockHttpTransport.DEFAULT_SUPPORTED_OPTIONAL_METHODS.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||