@Beta
public class MockMetadataServerTransport
extends com.google.api.client.testing.http.MockHttpTransport
Beta | Constructor and Description |
|---|
MockMetadataServerTransport(String accessToken) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.LowLevelHttpRequest |
buildRequest(String method,
String url) |
void |
setTokenRequestStatusCode(Integer tokenRequestStatusCode) |
builder, getLowLevelHttpRequest, getSupportedMethods, supportsMethodpublic MockMetadataServerTransport(String accessToken)
public void setTokenRequestStatusCode(Integer tokenRequestStatusCode)
public com.google.api.client.http.LowLevelHttpRequest buildRequest(String method, String url) throws IOException
buildRequest in class com.google.api.client.testing.http.MockHttpTransportIOExceptionCopyright © 2010–2018 Google. All rights reserved.