public class MockRestClient extends BoxRESTClient
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
accessToken |
static java.lang.String |
INCOMING_AUTH_HEADER |
ENTITY_CANNOT_BE_RETRIED, OAUTH_ERROR_HEADER, OAUTH_INVALID_TOKEN, WWW_AUTHENTICATE
Constructor and Description |
---|
MockRestClient() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.HttpResponse |
getResponse(org.apache.http.client.methods.HttpUriRequest request) |
acceptRestVisitor, execute, setConnectionOpen, setConnectionTimeOut
getRawHttpClient
public static final java.lang.String INCOMING_AUTH_HEADER
public static volatile java.lang.String accessToken
protected org.apache.http.HttpResponse getResponse(org.apache.http.client.methods.HttpUriRequest request) throws org.apache.http.client.ClientProtocolException, java.io.IOException
getResponse
in class BoxRESTClient
org.apache.http.client.ClientProtocolException
java.io.IOException