A C D E F G H I K L M N O P R S T U W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addHeader(String, String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- addHeader(Header) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- addHeader(Header) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- addHttpResponse(HttpResponse) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
-
As a consumer of the fake http call, you should never call this method.
- addHttpResponseContent(byte[]) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- addHttpResponseRule(String, String) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Adds an HTTP response rule.
- addHttpResponseRule(String, String) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- addHttpResponseRule(String, String, HttpResponse) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Adds an HTTP response rule.
- addHttpResponseRule(String, String, HttpResponse) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- addHttpResponseRule(String, HttpResponse) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Adds an HTTP response rule with a default method of GET.
- addHttpResponseRule(String, HttpResponse) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- addHttpResponseRule(HttpEntityStub.ResponseRule) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- addHttpResponseRule(RequestMatcher, List<? extends HttpResponse>) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Adds an HTTP response rule.
- addHttpResponseRule(RequestMatcher, List<? extends HttpResponse>) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
-
Add a response rule.
- addHttpResponseRule(RequestMatcher, HttpResponse) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Adds an HTTP response rule.
- addHttpResponseRule(RequestMatcher, HttpResponse) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- addPendingHttpResponse(int, String, Header...) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Sets up an HTTP response to be returned by calls to Apache's
HttpClientimplementers. - addPendingHttpResponse(int, String, Header...) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- addPendingHttpResponse(HttpResponse) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Sets up an HTTP response to be returned by calls to Apache's
HttpClientimplementers. - addPendingHttpResponse(HttpResponse) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- addPendingHttpResponse(HttpResponseGenerator) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Sets up an HTTP response to be returned by calls to Apache's
HttpClientimplementers. - addPendingHttpResponse(HttpResponseGenerator) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- addPendingHttpResponseWithContentType(int, String, Header) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Deprecated.
- addRequestInfo(HttpRequestInfo) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
-
This method is not supposed to be consumed by tests.
C
- clearHttpResponseRules() - Static method in class org.robolectric.shadows.httpclient.FakeHttp
- clearHttpResponseRules() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- clearHttpResponses() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
-
Call this method if you want to ensure that there's no http responses logged from this point until the next response arrives.
- clearPendingHttpResponses() - Static method in class org.robolectric.shadows.httpclient.FakeHttp
- clearPendingHttpResponses() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- clearRequestInfos() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- connectionKeepAliveStrategy - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- connectionManager - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- connectionReuseStrategy - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- connManager - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The connection manager.
- consumeContent() - Method in class org.robolectric.shadows.httpclient.HttpEntityStub
- consumeContent() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestHttpEntity
- containsHeader(String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- containsHeader(String) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- createConnectRequest(HttpRoute, HttpContext) - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
Creates the CONNECT request for tunnelling.
- createTunnelToProxy(HttpRoute, int, HttpContext) - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
Creates a tunnel to an intermediate proxy.
- createTunnelToTarget(HttpRoute, HttpContext) - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
Creates a tunnel to the target server.
D
- DefaultRequestDirector - Class in org.robolectric.shadows.httpclient
-
Default implementation of
RequestDirector. - DefaultRequestDirector(Log, HttpRequestExecutor, ClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, HttpRoutePlanner, HttpProcessor, HttpRequestRetryHandler, RedirectHandler, AuthenticationHandler, AuthenticationHandler, UserTokenHandler, HttpParams) - Constructor for class org.robolectric.shadows.httpclient.DefaultRequestDirector
- DefaultRequestDirector(HttpRequestExecutor, ClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, HttpRoutePlanner, HttpProcessor, HttpRequestRetryHandler, RedirectHandler, AuthenticationHandler, AuthenticationHandler, UserTokenHandler, HttpParams) - Constructor for class org.robolectric.shadows.httpclient.DefaultRequestDirector
- DefaultRequestMatcher(String, String) - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer.DefaultRequestMatcher
- determineRoute(HttpHost, HttpRequest, HttpContext) - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
Determines the route for a request.
E
- emulateRequest(HttpHost, HttpRequest, HttpContext, RequestDirector) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- entityContentStreamsHaveBeenClosed() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- establishRoute(HttpRoute, HttpContext) - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
Establishes the target route.
- execute(HttpUriRequest) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
- execute(HttpUriRequest, ResponseHandler<? extends T>) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
- execute(HttpUriRequest, ResponseHandler<? extends T>, HttpContext) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
- execute(HttpUriRequest, HttpContext) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
- execute(HttpHost, HttpRequest) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
- execute(HttpHost, HttpRequest, ResponseHandler<? extends T>) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
- execute(HttpHost, HttpRequest, ResponseHandler<? extends T>, HttpContext) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
- execute(HttpHost, HttpRequest, HttpContext) - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
- execute(HttpHost, HttpRequest, HttpContext) - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- execute(HttpHost, HttpRequest, HttpContext) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
F
- FakeHttp - Class in org.robolectric.shadows.httpclient
-
Collection of static methods used interact with HTTP requests / responses.
- FakeHttp() - Constructor for class org.robolectric.shadows.httpclient.FakeHttp
- FakeHttpLayer - Class in org.robolectric.shadows.httpclient
- FakeHttpLayer() - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer
- FakeHttpLayer.DefaultRequestMatcher - Class in org.robolectric.shadows.httpclient
- FakeHttpLayer.RequestMatcherBuilder - Class in org.robolectric.shadows.httpclient
- FakeHttpLayer.RequestMatcherBuilder.PostBodyMatcher - Interface in org.robolectric.shadows.httpclient
- FakeHttpLayer.RequestMatcherResponseRule - Class in org.robolectric.shadows.httpclient
- FakeHttpLayer.UriRegexMatcher - Class in org.robolectric.shadows.httpclient
- FakeHttpLayer.UriRequestMatcher - Class in org.robolectric.shadows.httpclient
G
- getAllHeaders() - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- getAllHeaders() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- getConnectionKeepAliveStrategy() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getConnectionManager() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getConnectionManager() - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
- getConnectionReuseStrategy() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getContent() - Method in class org.robolectric.shadows.httpclient.HttpEntityStub
- getContent() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestHttpEntity
- getContentEncoding() - Method in class org.robolectric.shadows.httpclient.HttpEntityStub
- getContentEncoding() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestHttpEntity
- getContentLength() - Method in class org.robolectric.shadows.httpclient.HttpEntityStub
- getContentLength() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestHttpEntity
- getContentType() - Method in class org.robolectric.shadows.httpclient.HttpEntityStub
- getContentType() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestHttpEntity
- getEntity() - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- getEntity() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- getFakeHttpLayer() - Static method in class org.robolectric.shadows.httpclient.FakeHttp
- getFirstHeader(String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- getFirstHeader(String) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- getHeader(String) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- getHeaders(String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- getHeaders(String) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- getHostname() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- getHttpContext() - Method in class org.robolectric.shadows.httpclient.HttpRequestInfo
- getHttpHost() - Method in class org.robolectric.shadows.httpclient.HttpRequestInfo
- getHttpParams() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getHttpProcessor() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getHttpRequest() - Method in class org.robolectric.shadows.httpclient.HttpRequestInfo
- getHttpRequestExecutor() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getHttpRequestRetryHandler() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getHttpResponses() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
-
This method return a list containing all the HTTP responses logged by the fake http layer, be it mocked http responses, be it real http calls (if {code}interceptHttpRequests{/code} is set to false).
- getHttpResposeContentList() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- getHttpRoutePlanner() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getLastHeader(String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- getLastHeader(String) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- getLastHttpResponse() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
-
Helper method that returns the latest received response from the server.
- getLastSentHttpRequestInfo() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- getLatestSentHttpRequest() - Static method in class org.robolectric.shadows.httpclient.FakeHttp
- getLatestSentHttpRequest() - Static method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getLatestSentHttpRequestInfo() - Static method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getLocale() - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- getLog() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getMethod() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- getNextSentHttpRequest() - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Accessor to obtain HTTP requests made during the current test in the order in which they were made.
- getNextSentHttpRequestInfo() - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Accessor to obtain metadata for an HTTP request made during the current test in the order in which they were made.
- getNextSentHttpRequestInfo() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- getParam(String) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- getParams() - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- getParams() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- getParams() - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
- getPath() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- getProtocolVersion() - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- getProtocolVersion() - Method in class org.robolectric.shadows.httpclient.StatusLineStub
- getProtocolVersion() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestStatusLine
- getProvidedPackageNames() - Method in class org.robolectric.shadows.httpclient.Shadows
- getProxyAuthenticationHandler() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getReasonPhrase() - Method in class org.robolectric.shadows.httpclient.StatusLineStub
- getReasonPhrase() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestStatusLine
- getRedirectHandler() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getRequestDirector() - Method in class org.robolectric.shadows.httpclient.HttpRequestInfo
- getResponse() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherResponseRule
- getResponse() - Method in interface org.robolectric.shadows.httpclient.HttpEntityStub.ResponseRule
- getResponse(HttpRequest) - Method in interface org.robolectric.shadows.httpclient.HttpResponseGenerator
- getSentHttpRequest(int) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Accessor to obtain HTTP requests made during the current test in the order in which they were made.
- getSentHttpRequest(int) - Static method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
-
Deprecated.Use
FakeHttp.getSentHttpRequestInfo(int)instead.) - getSentHttpRequestInfo(int) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Accessor to obtain metadata for an HTTP request made during the current test in the order in which they were made.
- getSentHttpRequestInfo(int) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- getSentHttpRequestInfo(int) - Static method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
-
Deprecated.Use
FakeHttp.getSentHttpRequest(int)instead.) - getSentHttpRequestInfos() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- getShadowMap() - Method in class org.robolectric.shadows.httpclient.Shadows
- getStatusCode() - Method in class org.robolectric.shadows.httpclient.StatusLineStub
- getStatusCode() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestStatusLine
- getStatusLine() - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- getStatusLine() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- getTargetAuthenticationHandler() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getUserTokenHandler() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
H
- handleResponse(RoutedRequest, HttpResponse, HttpContext) - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
Analyzes a response to check need for a followup.
- hasPendingResponses() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- hasRequestInfos() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- hasRequestMatchingRule(RequestMatcher) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- hasResponseRules() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- header(String, String) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- headerIterator() - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- headerIterator() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- headerIterator(String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- headerIterator(String) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- host(String) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- HttpEntityStub - Class in org.robolectric.shadows.httpclient
- HttpEntityStub() - Constructor for class org.robolectric.shadows.httpclient.HttpEntityStub
- HttpEntityStub.ResponseRule - Interface in org.robolectric.shadows.httpclient
- httpParams - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- httpProcessor - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The HTTP protocol processor.
- httpProcessor - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- httpRequestExecutor - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- HttpRequestInfo - Class in org.robolectric.shadows.httpclient
- HttpRequestInfo(HttpRequest, HttpHost, HttpContext, RequestDirector) - Constructor for class org.robolectric.shadows.httpclient.HttpRequestInfo
- httpRequestRetryHandler - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- httpRequestWasMade() - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Accessor to find out if HTTP requests were made during the current test.
- httpRequestWasMade(String) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
- HttpResponseGenerator - Interface in org.robolectric.shadows.httpclient
- HttpResponseStub - Class in org.robolectric.shadows.httpclient
- HttpResponseStub() - Constructor for class org.robolectric.shadows.httpclient.HttpResponseStub
- httpRoutePlanner - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
I
- interceptHttpRequests(boolean) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
-
You can disable Robolectric's fake HTTP layer temporarily by calling this method.
- interceptResponseContent(boolean) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- isChunked() - Method in class org.robolectric.shadows.httpclient.HttpEntityStub
- isInterceptingHttpRequests() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- isInterceptingResponseContent() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- isNoParams() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- isRepeatable() - Method in class org.robolectric.shadows.httpclient.HttpEntityStub
- isRepeatable() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestHttpEntity
- isStreaming() - Method in class org.robolectric.shadows.httpclient.HttpEntityStub
- isStreaming() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestHttpEntity
K
- keepAliveStrategy - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The keep-alive duration strategy.
L
- log - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- logHttpRequests() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
M
- managedConn - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The currently allocated connection.
- matches(HttpEntity) - Method in interface org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder.PostBodyMatcher
-
Hint: you can use EntityUtils.toString(actualPostBody) to help you implement your matches method.
- matches(HttpRequest) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.DefaultRequestMatcher
- matches(HttpRequest) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- matches(HttpRequest) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherResponseRule
- matches(HttpRequest) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.UriRegexMatcher
- matches(HttpRequest) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.UriRequestMatcher
- matches(HttpRequest) - Method in interface org.robolectric.shadows.httpclient.HttpEntityStub.ResponseRule
- matches(HttpRequest) - Method in interface org.robolectric.shadows.httpclient.RequestMatcher
- method(String) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
N
- newInstance(String) - Static method in class org.robolectric.shadows.ShadowAndroidHttpClient
- newInstance(String, Context) - Static method in class org.robolectric.shadows.ShadowAndroidHttpClient
- noParams() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
O
- org.robolectric.shadows - package org.robolectric.shadows
- org.robolectric.shadows.httpclient - package org.robolectric.shadows.httpclient
-
Shadows for Apache HTTP Client.
P
- param(String, String) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- params - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The HTTP parameters.
- ParamsParser - Class in org.robolectric.shadows.httpclient
- ParamsParser() - Constructor for class org.robolectric.shadows.httpclient.ParamsParser
- parseParams(HttpRequest) - Static method in class org.robolectric.shadows.httpclient.ParamsParser
- path(String) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- postBody(FakeHttpLayer.RequestMatcherBuilder.PostBodyMatcher) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- proxyAuthenticationHandler - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- proxyAuthHandler - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The proxy authentication handler.
- proxyAuthState - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
R
- redirectHandler - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The redirect handler.
- redirectHandler - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- releaseConnection() - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
Returns the connection back to the connection manager and prepares for retrieving a new connection during the next request.
- removeHeader(Header) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- removeHeaders(String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- requestExec - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The request executor.
- RequestMatcher - Interface in org.robolectric.shadows.httpclient
- RequestMatcherBuilder() - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- RequestMatcherResponseRule(RequestMatcher, IOException) - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherResponseRule
- RequestMatcherResponseRule(RequestMatcher, List<? extends HttpResponse>) - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherResponseRule
- RequestMatcherResponseRule(RequestMatcher, HttpException) - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherResponseRule
- RequestMatcherResponseRule(RequestMatcher, HttpResponse) - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherResponseRule
- reset() - Static method in class org.robolectric.shadows.httpclient.FakeHttp
- reset() - Static method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- reset() - Method in class org.robolectric.shadows.httpclient.Shadows
- retryHandler - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The request retry handler.
- reuseStrategy - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The connection re-use strategy.
- rewriteRequestURI(RequestWrapper, HttpRoute) - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
- routePlanner - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The route planner.
S
- setDefaultHttpResponse(int, String) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
- setDefaultHttpResponse(int, String) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- setDefaultHttpResponse(HttpResponse) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
- setDefaultHttpResponse(HttpResponse) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- setEntity(HttpEntity) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setHeader(String, String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setHeader(Header) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setHeader(Header) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- setHeaders(Header[]) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setLocale(Locale) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setParams(HttpParams) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setParams(HttpParams) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- setReasonPhrase(String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setResponseBody(String) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- setStatusCode(int) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setStatusLine(ProtocolVersion, int) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setStatusLine(ProtocolVersion, int, String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setStatusLine(StatusLine) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- ShadowAndroidHttpClient - Class in org.robolectric.shadows
- ShadowAndroidHttpClient() - Constructor for class org.robolectric.shadows.ShadowAndroidHttpClient
- ShadowDefaultRequestDirector - Class in org.robolectric.shadows.httpclient
- ShadowDefaultRequestDirector() - Constructor for class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- shadowOf(AndroidHttpClient) - Static method in class org.robolectric.shadows.httpclient.Shadows
- shadowOf(DefaultRequestDirector) - Static method in class org.robolectric.shadows.httpclient.Shadows
- Shadows - Class in org.robolectric.shadows.httpclient
-
Shadow mapper.
- Shadows() - Constructor for class org.robolectric.shadows.httpclient.Shadows
- silence() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- StatusLineStub - Class in org.robolectric.shadows.httpclient
- StatusLineStub() - Constructor for class org.robolectric.shadows.httpclient.StatusLineStub
T
- targetAuthenticationHandler - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- targetAuthHandler - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The target authentication handler.
- targetAuthState - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
- TestHttpEntity() - Constructor for class org.robolectric.shadows.httpclient.TestHttpResponse.TestHttpEntity
- TestHttpResponse - Class in org.robolectric.shadows.httpclient
- TestHttpResponse() - Constructor for class org.robolectric.shadows.httpclient.TestHttpResponse
- TestHttpResponse(int, byte[], Header...) - Constructor for class org.robolectric.shadows.httpclient.TestHttpResponse
- TestHttpResponse(int, String) - Constructor for class org.robolectric.shadows.httpclient.TestHttpResponse
- TestHttpResponse(int, String, Header...) - Constructor for class org.robolectric.shadows.httpclient.TestHttpResponse
- TestHttpResponse.TestHttpEntity - Class in org.robolectric.shadows.httpclient
- TestHttpResponse.TestStatusLine - Class in org.robolectric.shadows.httpclient
- TestStatusLine() - Constructor for class org.robolectric.shadows.httpclient.TestHttpResponse.TestStatusLine
- toString() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestStatusLine
U
- UriRegexMatcher(String, String) - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer.UriRegexMatcher
- UriRequestMatcher(String) - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer.UriRequestMatcher
- userTokenHandler - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The user token handler.
- userTokenHandler - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
W
- writeTo(OutputStream) - Method in class org.robolectric.shadows.httpclient.HttpEntityStub
- writeTo(OutputStream) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestHttpEntity
_
- __constructor__(Log, HttpRequestExecutor, ClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, HttpRoutePlanner, HttpProcessor, HttpRequestRetryHandler, RedirectHandler, AuthenticationHandler, AuthenticationHandler, UserTokenHandler, HttpParams) - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- __constructor__(HttpRequestExecutor, ClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, HttpRoutePlanner, HttpProcessor, HttpRequestRetryHandler, RedirectHandler, AuthenticationHandler, AuthenticationHandler, UserTokenHandler, HttpParams) - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
All Classes All Packages