META-INF/
META-INF/MANIFEST.MF
org/
org/robolectric/
org/robolectric/shadows/
org/robolectric/shadows/httpclient/
org/robolectric/shadows/httpclient/TestHttpResponse$1.classTestHttpResponse.java
package org.robolectric.shadows.httpclient
org.robolectric.shadows.httpclient.TestHttpResponse$1 extends java.lang.Object implements org.apache.http.HeaderIterator {
int index
final synthetic org.robolectric.shadows.httpclient.TestHttpResponse this$0
void (org.robolectric.shadows.httpclient.TestHttpResponse)
org.robolectric.shadows.httpclient.TestHttpResponse this$0
public boolean hasNext ()
public org.apache.http.Header nextHeader ()
public java.lang.Object next ()
public void remove ()
}
org/robolectric/shadows/httpclient/HttpEntityStub$ResponseRule.classHttpEntityStub.java
package org.robolectric.shadows.httpclient
public abstract org.robolectric.shadows.httpclient.HttpEntityStub$ResponseRule extends java.lang.Object {
public abstract boolean matches (org.apache.http.HttpRequest)
public abstract org.apache.http.HttpResponse getResponse () throws org.apache.http.HttpException java.io.IOException
}
org/robolectric/shadows/httpclient/TestHttpResponse$2.classTestHttpResponse.java
package org.robolectric.shadows.httpclient
org.robolectric.shadows.httpclient.TestHttpResponse$2 extends java.lang.Object implements org.apache.http.HeaderIterator {
int index
final synthetic String val$s
final synthetic org.robolectric.shadows.httpclient.TestHttpResponse this$0
void (org.robolectric.shadows.httpclient.TestHttpResponse, java.lang.String)
org.robolectric.shadows.httpclient.TestHttpResponse this$0
public boolean hasNext ()
private int nextIndex ()
int i
public org.apache.http.Header nextHeader ()
public java.lang.Object next ()
public void remove ()
}
org/robolectric/shadows/httpclient/TestHttpResponse$TestHttpEntity$1.classTestHttpResponse.java
package org.robolectric.shadows.httpclient
org.robolectric.shadows.httpclient.TestHttpResponse$TestHttpEntity$1 extends java.io.ByteArrayInputStream {
final synthetic org.robolectric.shadows.httpclient.TestHttpResponse$TestHttpEntity this$1
void (org.robolectric.shadows.httpclient.TestHttpResponse$TestHttpEntity, byte[])
org.robolectric.shadows.httpclient.TestHttpResponse$TestHttpEntity this$1
byte[] x0
public void close () throws java.io.IOException
}
org/robolectric/shadows/httpclient/package-info.classpackage-info.java
package org.robolectric.shadows.httpclient
abstract synthetic org.robolectric.shadows.httpclient.package-info extends java.lang.Object {
}
org/robolectric/shadows/httpclient/FakeHttpLayer$RequestMatcherBuilder$PostBodyMatcher.classFakeHttpLayer.java
package org.robolectric.shadows.httpclient
public abstract org.robolectric.shadows.httpclient.FakeHttpLayer$RequestMatcherBuilder$PostBodyMatcher extends java.lang.Object {
public abstract boolean matches (org.apache.http.HttpEntity) throws java.io.IOException
}
org/robolectric/shadows/httpclient/ShadowDefaultRequestDirector.classShadowDefaultRequestDirector.java
package org.robolectric.shadows.httpclient
public org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector extends java.lang.Object {
org.apache.http.impl.client.DefaultRequestDirector realObject
protected org.apache.commons.logging.Log log
protected org.apache.http.conn.ClientConnectionManager connectionManager
protected org.apache.http.conn.routing.HttpRoutePlanner httpRoutePlanner
protected org.apache.http.ConnectionReuseStrategy connectionReuseStrategy
protected org.apache.http.conn.ConnectionKeepAliveStrategy connectionKeepAliveStrategy
protected org.apache.http.protocol.HttpRequestExecutor httpRequestExecutor
protected org.apache.http.protocol.HttpProcessor httpProcessor
protected org.apache.http.client.HttpRequestRetryHandler httpRequestRetryHandler
protected org.apache.http.client.RedirectHandler redirectHandler
protected org.apache.http.client.AuthenticationHandler targetAuthenticationHandler
protected org.apache.http.client.AuthenticationHandler proxyAuthenticationHandler
protected org.apache.http.client.UserTokenHandler userTokenHandler
protected org.apache.http.params.HttpParams httpParams
org.robolectric.shadows.httpclient.DefaultRequestDirector redirector
public void ()
public void __constructor__ (org.apache.commons.logging.Log, org.apache.http.protocol.HttpRequestExecutor, org.apache.http.conn.ClientConnectionManager, org.apache.http.ConnectionReuseStrategy, org.apache.http.conn.ConnectionKeepAliveStrategy, org.apache.http.conn.routing.HttpRoutePlanner, org.apache.http.protocol.HttpProcessor, org.apache.http.client.HttpRequestRetryHandler, org.apache.http.client.RedirectHandler, org.apache.http.client.AuthenticationHandler, org.apache.http.client.AuthenticationHandler, org.apache.http.client.UserTokenHandler, org.apache.http.params.HttpParams)
IllegalArgumentException ignored
org.apache.commons.logging.Log log
org.apache.http.protocol.HttpRequestExecutor requestExec
org.apache.http.conn.ClientConnectionManager conman
org.apache.http.ConnectionReuseStrategy reustrat
org.apache.http.conn.ConnectionKeepAliveStrategy kastrat
org.apache.http.conn.routing.HttpRoutePlanner rouplan
org.apache.http.protocol.HttpProcessor httpProcessor
org.apache.http.client.HttpRequestRetryHandler retryHandler
org.apache.http.client.RedirectHandler redirectHandler
org.apache.http.client.AuthenticationHandler targetAuthHandler
org.apache.http.client.AuthenticationHandler proxyAuthHandler
org.apache.http.client.UserTokenHandler userTokenHandler
org.apache.http.params.HttpParams params
public void __constructor__ (org.apache.http.protocol.HttpRequestExecutor, org.apache.http.conn.ClientConnectionManager, org.apache.http.ConnectionReuseStrategy, org.apache.http.conn.ConnectionKeepAliveStrategy, org.apache.http.conn.routing.HttpRoutePlanner, org.apache.http.protocol.HttpProcessor, org.apache.http.client.HttpRequestRetryHandler, org.apache.http.client.RedirectHandler, org.apache.http.client.AuthenticationHandler, org.apache.http.client.AuthenticationHandler, org.apache.http.client.UserTokenHandler, org.apache.http.params.HttpParams)
org.apache.http.protocol.HttpRequestExecutor requestExec
org.apache.http.conn.ClientConnectionManager conman
org.apache.http.ConnectionReuseStrategy reustrat
org.apache.http.conn.ConnectionKeepAliveStrategy kastrat
org.apache.http.conn.routing.HttpRoutePlanner rouplan
org.apache.http.protocol.HttpProcessor httpProcessor
org.apache.http.client.HttpRequestRetryHandler retryHandler
org.apache.http.client.RedirectHandler redirectHandler
org.apache.http.client.AuthenticationHandler targetAuthHandler
org.apache.http.client.AuthenticationHandler proxyAuthHandler
org.apache.http.client.UserTokenHandler userTokenHandler
org.apache.http.params.HttpParams params
public static org.apache.http.HttpRequest getSentHttpRequest (int)
int index
public static org.apache.http.HttpRequest getLatestSentHttpRequest ()
public static org.robolectric.shadows.httpclient.HttpRequestInfo getLatestSentHttpRequestInfo ()
int requestCount
public static org.robolectric.shadows.httpclient.HttpRequestInfo getSentHttpRequestInfo (int)
int index
public org.apache.http.HttpResponse execute (org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException java.io.IOException
org.apache.http.HttpResponse response
org.apache.http.HttpHost httpHost
org.apache.http.HttpRequest httpRequest
org.apache.http.protocol.HttpContext httpContext
public org.apache.commons.logging.Log getLog ()
public org.apache.http.conn.ClientConnectionManager getConnectionManager ()
public org.apache.http.conn.routing.HttpRoutePlanner getHttpRoutePlanner ()
public org.apache.http.ConnectionReuseStrategy getConnectionReuseStrategy ()
public org.apache.http.conn.ConnectionKeepAliveStrategy getConnectionKeepAliveStrategy ()
public org.apache.http.protocol.HttpRequestExecutor getHttpRequestExecutor ()
public org.apache.http.protocol.HttpProcessor getHttpProcessor ()
public org.apache.http.client.HttpRequestRetryHandler getHttpRequestRetryHandler ()
public org.apache.http.client.RedirectHandler getRedirectHandler ()
public org.apache.http.client.AuthenticationHandler getTargetAuthenticationHandler ()
public org.apache.http.client.AuthenticationHandler getProxyAuthenticationHandler ()
public org.apache.http.client.UserTokenHandler getUserTokenHandler ()
public org.apache.http.params.HttpParams getHttpParams ()
public static void reset ()
private void interceptResponseContent (org.apache.http.HttpResponse)
java.lang.reflect.Field wrappedEntity
org.apache.http.entity.HttpEntityWrapper entityWrapper
java.lang.reflect.Field contentField
java.io.InputStream content
byte[] buffer
org.apache.http.entity.BasicHttpEntity basicEntity
org.apache.http.HttpResponse response
org.apache.http.HttpEntity entity
}
org/robolectric/shadows/httpclient/DefaultRequestDirector.classDefaultRequestDirector.java
package org.robolectric.shadows.httpclient
public org.robolectric.shadows.httpclient.DefaultRequestDirector extends java.lang.Object implements org.apache.http.client.RequestDirector {
private final org.apache.commons.logging.Log log
protected final org.apache.http.conn.ClientConnectionManager connManager
protected final org.apache.http.conn.routing.HttpRoutePlanner routePlanner
protected final org.apache.http.ConnectionReuseStrategy reuseStrategy
protected final org.apache.http.conn.ConnectionKeepAliveStrategy keepAliveStrategy
protected final org.apache.http.protocol.HttpRequestExecutor requestExec
protected final org.apache.http.protocol.HttpProcessor httpProcessor
protected final org.apache.http.client.HttpRequestRetryHandler retryHandler
protected final org.apache.http.client.RedirectHandler redirectHandler
protected final org.apache.http.client.AuthenticationHandler targetAuthHandler
protected final org.apache.http.client.AuthenticationHandler proxyAuthHandler
protected final org.apache.http.client.UserTokenHandler userTokenHandler
protected final org.apache.http.params.HttpParams params
protected org.apache.http.conn.ManagedClientConnection managedConn
protected final org.apache.http.auth.AuthState targetAuthState
protected final org.apache.http.auth.AuthState proxyAuthState
private int redirectCount
private int maxRedirects
private org.apache.http.HttpHost virtualHost
public void (org.apache.commons.logging.Log, org.apache.http.protocol.HttpRequestExecutor, org.apache.http.conn.ClientConnectionManager, org.apache.http.ConnectionReuseStrategy, org.apache.http.conn.ConnectionKeepAliveStrategy, org.apache.http.conn.routing.HttpRoutePlanner, org.apache.http.protocol.HttpProcessor, org.apache.http.client.HttpRequestRetryHandler, org.apache.http.client.RedirectHandler, org.apache.http.client.AuthenticationHandler, org.apache.http.client.AuthenticationHandler, org.apache.http.client.UserTokenHandler, org.apache.http.params.HttpParams)
org.apache.commons.logging.Log log
org.apache.http.protocol.HttpRequestExecutor requestExec
org.apache.http.conn.ClientConnectionManager conman
org.apache.http.ConnectionReuseStrategy reustrat
org.apache.http.conn.ConnectionKeepAliveStrategy kastrat
org.apache.http.conn.routing.HttpRoutePlanner rouplan
org.apache.http.protocol.HttpProcessor httpProcessor
org.apache.http.client.HttpRequestRetryHandler retryHandler
org.apache.http.client.RedirectHandler redirectHandler
org.apache.http.client.AuthenticationHandler targetAuthHandler
org.apache.http.client.AuthenticationHandler proxyAuthHandler
org.apache.http.client.UserTokenHandler userTokenHandler
org.apache.http.params.HttpParams params
public void (org.apache.http.protocol.HttpRequestExecutor, org.apache.http.conn.ClientConnectionManager, org.apache.http.ConnectionReuseStrategy, org.apache.http.conn.ConnectionKeepAliveStrategy, org.apache.http.conn.routing.HttpRoutePlanner, org.apache.http.protocol.HttpProcessor, org.apache.http.client.HttpRequestRetryHandler, org.apache.http.client.RedirectHandler, org.apache.http.client.AuthenticationHandler, org.apache.http.client.AuthenticationHandler, org.apache.http.client.UserTokenHandler, org.apache.http.params.HttpParams)
org.apache.http.protocol.HttpRequestExecutor requestExec
org.apache.http.conn.ClientConnectionManager conman
org.apache.http.ConnectionReuseStrategy reustrat
org.apache.http.conn.ConnectionKeepAliveStrategy kastrat
org.apache.http.conn.routing.HttpRoutePlanner rouplan
org.apache.http.protocol.HttpProcessor httpProcessor
org.apache.http.client.HttpRequestRetryHandler retryHandler
org.apache.http.client.RedirectHandler redirectHandler
org.apache.http.client.AuthenticationHandler targetAuthHandler
org.apache.http.client.AuthenticationHandler proxyAuthHandler
org.apache.http.client.UserTokenHandler userTokenHandler
org.apache.http.params.HttpParams params
private org.apache.http.impl.client.RequestWrapper wrapRequest (org.apache.http.HttpRequest) throws org.apache.http.ProtocolException
org.apache.http.HttpRequest request
protected void rewriteRequestURI (org.apache.http.impl.client.RequestWrapper, org.apache.http.conn.routing.HttpRoute) throws org.apache.http.ProtocolException
org.apache.http.HttpHost target
java.net.URI uri
java.net.URISyntaxException ex
org.apache.http.impl.client.RequestWrapper request
org.apache.http.conn.routing.HttpRoute route
public org.apache.http.HttpResponse execute (org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException java.io.IOException
java.io.InterruptedIOException iox
InterruptedException interrupted
org.apache.http.conn.ClientConnectionRequest connRequest
org.apache.http.impl.client.TunnelRefusedException ex
java.io.IOException ex
long duration
org.apache.http.HttpEntity entity
org.apache.http.impl.client.RequestWrapper wrapper
org.apache.http.conn.routing.HttpRoute route
Object userToken
org.apache.http.HttpHost proxy
boolean retrying
Exception retryReason
org.apache.http.impl.client.RoutedRequest followup
org.apache.http.HttpEntity entity
org.apache.http.HttpResponse response
Exception ex
org.apache.http.HttpHost target
org.apache.http.HttpRequest request
org.apache.http.protocol.HttpContext context
org.apache.http.HttpRequest orig
org.apache.http.impl.client.RequestWrapper origWrapper
org.apache.http.conn.routing.HttpRoute origRoute
org.apache.http.impl.client.RoutedRequest roureq
long timeout
int execCount
boolean reuse
boolean done
protected void releaseConnection ()
java.io.IOException ignored
protected org.apache.http.conn.routing.HttpRoute determineRoute (org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException
org.apache.http.HttpHost target
org.apache.http.HttpRequest request
org.apache.http.protocol.HttpContext context
protected void establishRoute (org.apache.http.conn.routing.HttpRoute, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException java.io.IOException
boolean secure
int hop
boolean secure
org.apache.http.conn.routing.HttpRoute fact
org.apache.http.conn.routing.HttpRoute route
org.apache.http.protocol.HttpContext context
org.apache.http.conn.routing.HttpRouteDirector rowdy
int step
protected boolean createTunnelToTarget (org.apache.http.conn.routing.HttpRoute, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException java.io.IOException
org.apache.http.auth.AuthenticationException ex
org.apache.http.HttpEntity entity
java.util.Map challenges
org.apache.http.HttpRequest connect
int status
org.apache.http.client.CredentialsProvider credsProvider
org.apache.http.HttpEntity entity
org.apache.http.conn.routing.HttpRoute route
org.apache.http.protocol.HttpContext context
org.apache.http.HttpHost proxy
org.apache.http.HttpHost target
org.apache.http.HttpResponse response
boolean done
int status
protected boolean createTunnelToProxy (org.apache.http.conn.routing.HttpRoute, int, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException java.io.IOException
org.apache.http.conn.routing.HttpRoute route
int hop
org.apache.http.protocol.HttpContext context
protected org.apache.http.HttpRequest createConnectRequest (org.apache.http.conn.routing.HttpRoute, org.apache.http.protocol.HttpContext)
org.apache.http.conn.scheme.Scheme scheme
org.apache.http.conn.routing.HttpRoute route
org.apache.http.protocol.HttpContext context
org.apache.http.HttpHost target
String host
int port
StringBuilder buffer
String authority
org.apache.http.ProtocolVersion ver
org.apache.http.HttpRequest req
protected org.apache.http.impl.client.RoutedRequest handleResponse (org.apache.http.impl.client.RoutedRequest, org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.HttpException java.io.IOException
org.apache.http.auth.AuthScheme authScheme
java.net.URI uri
org.apache.http.HttpHost newTarget
org.robolectric.shadows.httpclient.HttpRedirect redirect
org.apache.http.HttpRequest orig
org.apache.http.impl.client.RequestWrapper wrapper
org.apache.http.conn.routing.HttpRoute newRoute
org.apache.http.impl.client.RoutedRequest newRequest
org.apache.http.auth.AuthenticationException ex
org.apache.http.HttpHost target
java.util.Map challenges
org.apache.http.auth.AuthenticationException ex
org.apache.http.HttpHost proxy
java.util.Map challenges
org.apache.http.impl.client.RoutedRequest roureq
org.apache.http.HttpResponse response
org.apache.http.protocol.HttpContext context
org.apache.http.conn.routing.HttpRoute route
org.apache.http.impl.client.RequestWrapper request
org.apache.http.params.HttpParams params
org.apache.http.client.CredentialsProvider credsProvider
private void abortConnection ()
java.io.IOException ex
java.io.IOException ignored
org.apache.http.conn.ManagedClientConnection mcc
private void processChallenges (java.util.Map, org.apache.http.auth.AuthState, org.apache.http.client.AuthenticationHandler, org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) throws org.apache.http.auth.MalformedChallengeException org.apache.http.auth.AuthenticationException
java.util.Map challenges
org.apache.http.auth.AuthState authState
org.apache.http.client.AuthenticationHandler authHandler
org.apache.http.HttpResponse response
org.apache.http.protocol.HttpContext context
org.apache.http.auth.AuthScheme authScheme
String id
org.apache.http.Header challenge
private void updateAuthState (org.apache.http.auth.AuthState, org.apache.http.HttpHost, org.apache.http.client.CredentialsProvider)
org.apache.http.conn.scheme.Scheme scheme
org.apache.http.auth.AuthState authState
org.apache.http.HttpHost host
org.apache.http.client.CredentialsProvider credsProvider
String hostname
int port
org.apache.http.auth.AuthScheme authScheme
org.apache.http.auth.AuthScope authScope
org.apache.http.auth.Credentials creds
}
org/robolectric/shadows/httpclient/FakeHttpLayer$RequestMatcherResponseRule.classFakeHttpLayer.java
package org.robolectric.shadows.httpclient
public org.robolectric.shadows.httpclient.FakeHttpLayer$RequestMatcherResponseRule extends java.lang.Object implements org.robolectric.shadows.httpclient.HttpEntityStub$ResponseRule {
private org.robolectric.shadows.httpclient.RequestMatcher requestMatcher
private org.apache.http.HttpResponse responseToGive
private java.io.IOException ioException
private org.apache.http.HttpException httpException
private java.util.List responses
public void (org.robolectric.shadows.httpclient.RequestMatcher, org.apache.http.HttpResponse)
org.robolectric.shadows.httpclient.RequestMatcher requestMatcher
org.apache.http.HttpResponse responseToGive
public void (org.robolectric.shadows.httpclient.RequestMatcher, java.io.IOException)
org.robolectric.shadows.httpclient.RequestMatcher requestMatcher
java.io.IOException ioException
public void (org.robolectric.shadows.httpclient.RequestMatcher, org.apache.http.HttpException)
org.robolectric.shadows.httpclient.RequestMatcher requestMatcher
org.apache.http.HttpException httpException
public void (org.robolectric.shadows.httpclient.RequestMatcher, java.util.List)
org.robolectric.shadows.httpclient.RequestMatcher requestMatcher
java.util.List responses
public boolean matches (org.apache.http.HttpRequest)
org.apache.http.HttpRequest request
public org.apache.http.HttpResponse getResponse () throws org.apache.http.HttpException java.io.IOException
}
org/robolectric/shadows/httpclient/FakeHttpLayer$DefaultRequestMatcher.classFakeHttpLayer.java
package org.robolectric.shadows.httpclient
public org.robolectric.shadows.httpclient.FakeHttpLayer$DefaultRequestMatcher extends java.lang.Object implements org.robolectric.shadows.httpclient.RequestMatcher {
private String method
private String uri
public void (java.lang.String, java.lang.String)
String method
String uri
public boolean matches (org.apache.http.HttpRequest)
org.apache.http.HttpRequest request
}
org/robolectric/shadows/httpclient/StatusLineStub.classStatusLineStub.java
package org.robolectric.shadows.httpclient
public org.robolectric.shadows.httpclient.StatusLineStub extends java.lang.Object implements org.apache.http.StatusLine {
public void ()
public org.apache.http.ProtocolVersion getProtocolVersion ()
public int getStatusCode ()
public java.lang.String getReasonPhrase ()
}
org/robolectric/shadows/httpclient/FakeHttpLayer$UriRegexMatcher.classFakeHttpLayer.java
package org.robolectric.shadows.httpclient
public org.robolectric.shadows.httpclient.FakeHttpLayer$UriRegexMatcher extends java.lang.Object implements org.robolectric.shadows.httpclient.RequestMatcher {
private String method
private final java.util.regex.Pattern uriRegex
public void (java.lang.String, java.lang.String)
String method
String uriRegex
public boolean matches (org.apache.http.HttpRequest)
org.apache.http.HttpRequest request
}
org/robolectric/shadows/httpclient/FakeHttpLayer$UriRequestMatcher.classFakeHttpLayer.java
package org.robolectric.shadows.httpclient
public org.robolectric.shadows.httpclient.FakeHttpLayer$UriRequestMatcher extends java.lang.Object implements org.robolectric.shadows.httpclient.RequestMatcher {
private String uri
public void (java.lang.String)
String uri
public boolean matches (org.apache.http.HttpRequest)
org.apache.http.HttpRequest request
}
org/robolectric/shadows/httpclient/HttpResponseStub.classHttpResponseStub.java
package org.robolectric.shadows.httpclient
public org.robolectric.shadows.httpclient.HttpResponseStub extends java.lang.Object implements org.apache.http.HttpResponse {
public void ()
public org.apache.http.StatusLine getStatusLine ()
public void setStatusLine (org.apache.http.StatusLine)
org.apache.http.StatusLine statusLine
public void setStatusLine (org.apache.http.ProtocolVersion, int)
org.apache.http.ProtocolVersion protocolVersion
int i
public void setStatusLine (org.apache.http.ProtocolVersion, int, java.lang.String)
org.apache.http.ProtocolVersion protocolVersion
int i
String s
public void setStatusCode (int) throws java.lang.IllegalStateException
int i
public void setReasonPhrase (java.lang.String) throws java.lang.IllegalStateException
String s
public org.apache.http.HttpEntity getEntity ()
public void setEntity (org.apache.http.HttpEntity)
org.apache.http.HttpEntity httpEntity
public java.util.Locale getLocale ()
public void setLocale (java.util.Locale)
java.util.Locale locale
public org.apache.http.ProtocolVersion getProtocolVersion ()
public boolean containsHeader (java.lang.String)
String s
public org.apache.http.Header[] getHeaders (java.lang.String)
String s
public org.apache.http.Header getFirstHeader (java.lang.String)
String s
public org.apache.http.Header getLastHeader (java.lang.String)
String s
public org.apache.http.Header[] getAllHeaders ()
public void addHeader (org.apache.http.Header)
org.apache.http.Header header
public void addHeader (java.lang.String, java.lang.String)
String s
String s1
public void setHeader (org.apache.http.Header)
org.apache.http.Header header
public void setHeader (java.lang.String, java.lang.String)
String s
String s1
public void setHeaders (org.apache.http.Header[])
org.apache.http.Header[] headers
public void removeHeader (org.apache.http.Header)
org.apache.http.Header header
public void removeHeaders (java.lang.String)
String s
public org.apache.http.HeaderIterator headerIterator ()
public org.apache.http.HeaderIterator headerIterator (java.lang.String)
String s
public org.apache.http.params.HttpParams getParams ()
public void setParams (org.apache.http.params.HttpParams)
org.apache.http.params.HttpParams httpParams
}
org/robolectric/shadows/httpclient/RequestMatcher.classRequestMatcher.java
package org.robolectric.shadows.httpclient
public abstract org.robolectric.shadows.httpclient.RequestMatcher extends java.lang.Object {
public abstract boolean matches (org.apache.http.HttpRequest)
}
org/robolectric/shadows/httpclient/TestHttpResponse$TestHttpEntity.classTestHttpResponse.java
package org.robolectric.shadows.httpclient
public org.robolectric.shadows.httpclient.TestHttpResponse$TestHttpEntity extends org.robolectric.shadows.httpclient.HttpEntityStub {
private java.io.ByteArrayInputStream inputStream
final synthetic org.robolectric.shadows.httpclient.TestHttpResponse this$0
public void (org.robolectric.shadows.httpclient.TestHttpResponse)
org.robolectric.shadows.httpclient.TestHttpResponse this$0
public long getContentLength ()
public org.apache.http.Header getContentType ()
public org.apache.http.Header getContentEncoding ()
public boolean isStreaming ()
public boolean isRepeatable ()
public java.io.InputStream getContent () throws java.io.IOException java.lang.IllegalStateException
public void writeTo (java.io.OutputStream) throws java.io.IOException
java.io.OutputStream outputStream
public void consumeContent () throws java.io.IOException
}
org/robolectric/shadows/httpclient/HttpResponseGenerator.classHttpResponseGenerator.java
package org.robolectric.shadows.httpclient
public abstract org.robolectric.shadows.httpclient.HttpResponseGenerator extends java.lang.Object {
public abstract org.apache.http.HttpResponse getResponse (org.apache.http.HttpRequest)
}
org/robolectric/shadows/httpclient/Shadows.classShadows.java
package org.robolectric.shadows.httpclient
public org.robolectric.shadows.httpclient.Shadows extends java.lang.Object implements org.robolectric.internal.ShadowProvider {
private static final java.util.Map SHADOW_MAP
public void ()
public static org.robolectric.shadows.ShadowAndroidHttpClient shadowOf (android.net.http.AndroidHttpClient)
android.net.http.AndroidHttpClient actual
public static org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector shadowOf (org.apache.http.impl.client.DefaultRequestDirector)
org.apache.http.impl.client.DefaultRequestDirector actual
public void reset ()
public java.util.Map getShadowMap ()
public java.lang.String[] getProvidedPackageNames ()
static void ()
}
org/robolectric/shadows/httpclient/FakeHttpLayer$RequestMatcherBuilder.classFakeHttpLayer.java
package org.robolectric.shadows.httpclient
public org.robolectric.shadows.httpclient.FakeHttpLayer$RequestMatcherBuilder extends java.lang.Object implements org.robolectric.shadows.httpclient.RequestMatcher {
private String method
private String hostname
private String path
private boolean noParams
private java.util.Map params
private java.util.Map headers
private org.robolectric.shadows.httpclient.FakeHttpLayer$RequestMatcherBuilder$PostBodyMatcher postBodyMatcher
public void ()
public org.robolectric.shadows.httpclient.FakeHttpLayer$RequestMatcherBuilder method (java.lang.String)
String method
public org.robolectric.shadows.httpclient.FakeHttpLayer$RequestMatcherBuilder host (java.lang.String)
String hostname
public org.robolectric.shadows.httpclient.FakeHttpLayer$RequestMatcherBuilder path (java.lang.String)
String path
public org.robolectric.shadows.httpclient.FakeHttpLayer$RequestMatcherBuilder param (java.lang.String, java.lang.String)
String name
String value
public org.robolectric.shadows.httpclient.FakeHttpLayer$RequestMatcherBuilder noParams ()
public org.robolectric.shadows.httpclient.FakeHttpLayer$RequestMatcherBuilder postBody (org.robolectric.shadows.httpclient.FakeHttpLayer$RequestMatcherBuilder$PostBodyMatcher)
org.robolectric.shadows.httpclient.FakeHttpLayer$RequestMatcherBuilder$PostBodyMatcher postBodyMatcher
public org.robolectric.shadows.httpclient.FakeHttpLayer$RequestMatcherBuilder header (java.lang.String, java.lang.String)
String name
String value
public boolean matches (org.apache.http.HttpRequest)
java.util.Map requestParams
org.apache.http.Header header
java.util.Map actualRequestHeaders
java.io.IOException e
org.apache.http.client.methods.HttpEntityEnclosingRequestBase postOrPut
org.apache.http.HttpRequest request
java.net.URI uri
public java.lang.String getHostname ()
public java.lang.String getPath ()
public java.lang.String getParam (java.lang.String)
String key
public java.lang.String getHeader (java.lang.String)
String key
public boolean isNoParams ()
public java.lang.String getMethod ()
}
org/robolectric/shadows/httpclient/ParamsParser.classParamsParser.java
package org.robolectric.shadows.httpclient
public org.robolectric.shadows.httpclient.ParamsParser extends java.lang.Object {
public void ()
public static java.util.Map parseParams (org.apache.http.HttpRequest)
org.apache.http.HttpRequest request
private static java.util.Map parseParamsForRequestWithEntity (org.apache.http.client.methods.HttpEntityEnclosingRequestBase)
org.apache.http.NameValuePair pair
java.util.List pairs
java.util.LinkedHashMap map
org.apache.http.HttpEntity entity
java.io.IOException e
org.apache.http.client.methods.HttpEntityEnclosingRequestBase request
private static java.util.Map parseParamsForGet (org.apache.http.HttpRequest)
String paramName
org.apache.http.HttpRequest request
android.net.Uri uri
java.util.Set paramNames
java.util.LinkedHashMap map
}
org/robolectric/shadows/httpclient/HttpRedirect.classHttpRedirect.java
package org.robolectric.shadows.httpclient
org.robolectric.shadows.httpclient.HttpRedirect extends org.apache.http.client.methods.HttpRequestBase {
private String method
public void (java.lang.String, java.net.URI)
String method
java.net.URI uri
public java.lang.String getMethod ()
}
org/robolectric/shadows/httpclient/FakeHttpLayer.classFakeHttpLayer.java
package org.robolectric.shadows.httpclient
public org.robolectric.shadows.httpclient.FakeHttpLayer extends java.lang.Object {
private final java.util.List pendingHttpResponses
private final java.util.List httpRequestInfos
private final java.util.List httpResponses
private final java.util.List httpResponseRules
private org.apache.http.HttpResponse defaultHttpResponse
private boolean interceptHttpRequests
private boolean logHttpRequests
private java.util.List httpResposeContent
private boolean interceptResponseContent
public void ()
public org.robolectric.shadows.httpclient.HttpRequestInfo getLastSentHttpRequestInfo ()
java.util.List requestInfos
public transient void addPendingHttpResponse (int, java.lang.String, org.apache.http.Header[])
int statusCode
String responseBody
org.apache.http.Header[] headers
public void addPendingHttpResponse (org.apache.http.HttpResponse)
org.apache.http.HttpResponse httpResponse
public void addPendingHttpResponse (org.robolectric.shadows.httpclient.HttpResponseGenerator)
org.robolectric.shadows.httpclient.HttpResponseGenerator httpResponseGenerator
public void addHttpResponseRule (java.lang.String, java.lang.String, org.apache.http.HttpResponse)
String method
String uri
org.apache.http.HttpResponse response
public void addHttpResponseRule (java.lang.String, org.apache.http.HttpResponse)
String uri
org.apache.http.HttpResponse response
public void addHttpResponseRule (java.lang.String, java.lang.String)
String uri
String response
public void addHttpResponseRule (org.robolectric.shadows.httpclient.RequestMatcher, org.apache.http.HttpResponse)
org.robolectric.shadows.httpclient.RequestMatcher requestMatcher
org.apache.http.HttpResponse response
public void addHttpResponseRule (org.robolectric.shadows.httpclient.RequestMatcher, java.util.List)
org.robolectric.shadows.httpclient.RequestMatcher requestMatcher
java.util.List responses
public void addHttpResponseRule (org.robolectric.shadows.httpclient.HttpEntityStub$ResponseRule)
org.robolectric.shadows.httpclient.HttpEntityStub$ResponseRule responseRule
public void setDefaultHttpResponse (org.apache.http.HttpResponse)
org.apache.http.HttpResponse defaultHttpResponse
public void setDefaultHttpResponse (int, java.lang.String)
int statusCode
String responseBody
private org.apache.http.HttpResponse findResponse (org.apache.http.HttpRequest) throws org.apache.http.HttpException java.io.IOException
org.robolectric.shadows.httpclient.HttpEntityStub$ResponseRule httpResponseRule
org.apache.http.HttpRequest httpRequest
public org.apache.http.HttpResponse emulateRequest (org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext, org.apache.http.client.RequestDirector) throws org.apache.http.HttpException java.io.IOException
org.apache.http.params.HttpParams params
org.apache.http.HttpHost httpHost
org.apache.http.HttpRequest httpRequest
org.apache.http.protocol.HttpContext httpContext
org.apache.http.client.RequestDirector requestDirector
org.apache.http.HttpResponse httpResponse
public boolean hasPendingResponses ()
public boolean hasRequestInfos ()
public void clearRequestInfos ()
public void addRequestInfo (org.robolectric.shadows.httpclient.HttpRequestInfo)
org.robolectric.shadows.httpclient.HttpRequestInfo requestInfo
public boolean hasResponseRules ()
public boolean hasRequestMatchingRule (org.robolectric.shadows.httpclient.RequestMatcher)
org.robolectric.shadows.httpclient.HttpRequestInfo requestInfo
org.robolectric.shadows.httpclient.RequestMatcher rule
public org.robolectric.shadows.httpclient.HttpRequestInfo getSentHttpRequestInfo (int)
int index
public org.robolectric.shadows.httpclient.HttpRequestInfo getNextSentHttpRequestInfo ()
public void logHttpRequests ()
public void silence ()
public java.util.List getSentHttpRequestInfos ()
public void clearHttpResponseRules ()
public void clearPendingHttpResponses ()
public java.util.List getHttpResponses ()
public void addHttpResponse (org.apache.http.HttpResponse)
org.apache.http.HttpResponse response
public void addHttpResponseContent (byte[])
byte[] content
public java.util.List getHttpResposeContentList ()
public org.apache.http.HttpResponse getLastHttpResponse ()
public void clearHttpResponses ()
public void interceptHttpRequests (boolean)
boolean interceptHttpRequests
public boolean isInterceptingHttpRequests ()
public void interceptResponseContent (boolean)
boolean interceptResponseContent
public boolean isInterceptingResponseContent ()
}
org/robolectric/shadows/httpclient/FakeHttp.classFakeHttp.java
package org.robolectric.shadows.httpclient
public org.robolectric.shadows.httpclient.FakeHttp extends java.lang.Object {
private static org.robolectric.shadows.httpclient.FakeHttpLayer instance
public void ()
public static transient void addPendingHttpResponse (int, java.lang.String, org.apache.http.Header[])
int statusCode
String responseBody
org.apache.http.Header[] headers
public static void addPendingHttpResponseWithContentType (int, java.lang.String, org.apache.http.Header)
int statusCode
String responseBody
org.apache.http.Header contentType
public static void addPendingHttpResponse (org.apache.http.HttpResponse)
org.apache.http.HttpResponse httpResponse
public static void addPendingHttpResponse (org.robolectric.shadows.httpclient.HttpResponseGenerator)
org.robolectric.shadows.httpclient.HttpResponseGenerator httpResponseGenerator
public static org.apache.http.HttpRequest getSentHttpRequest (int)
int index
public static org.apache.http.HttpRequest getLatestSentHttpRequest ()
public static boolean httpRequestWasMade ()
public static boolean httpRequestWasMade (java.lang.String)
String uri
public static org.robolectric.shadows.httpclient.HttpRequestInfo getSentHttpRequestInfo (int)
int index
public static org.apache.http.HttpRequest getNextSentHttpRequest ()
org.robolectric.shadows.httpclient.HttpRequestInfo httpRequestInfo
public static org.robolectric.shadows.httpclient.HttpRequestInfo getNextSentHttpRequestInfo ()
public static void addHttpResponseRule (java.lang.String, java.lang.String, org.apache.http.HttpResponse)
String method
String uri
org.apache.http.HttpResponse response
public static void addHttpResponseRule (java.lang.String, org.apache.http.HttpResponse)
String uri
org.apache.http.HttpResponse response
public static void addHttpResponseRule (java.lang.String, java.lang.String)
String uri
String response
public static void addHttpResponseRule (org.robolectric.shadows.httpclient.RequestMatcher, org.apache.http.HttpResponse)
org.robolectric.shadows.httpclient.RequestMatcher requestMatcher
org.apache.http.HttpResponse response
public static void addHttpResponseRule (org.robolectric.shadows.httpclient.RequestMatcher, java.util.List)
org.robolectric.shadows.httpclient.RequestMatcher requestMatcher
java.util.List responses
public static org.robolectric.shadows.httpclient.FakeHttpLayer getFakeHttpLayer ()
public static void setDefaultHttpResponse (int, java.lang.String)
int statusCode
String responseBody
public static void setDefaultHttpResponse (org.apache.http.HttpResponse)
org.apache.http.HttpResponse defaultHttpResponse
public static void clearHttpResponseRules ()
public static void clearPendingHttpResponses ()
public static void reset ()
static void ()
}
org/robolectric/shadows/httpclient/TestHttpResponse.classTestHttpResponse.java
package org.robolectric.shadows.httpclient
public org.robolectric.shadows.httpclient.TestHttpResponse extends org.robolectric.shadows.httpclient.HttpResponseStub {
private int statusCode
private byte[] responseBody
private org.robolectric.shadows.httpclient.TestHttpResponse$TestStatusLine statusLine
private org.robolectric.shadows.httpclient.TestHttpResponse$TestHttpEntity httpEntity
private int openEntityContentStreamCount
private org.apache.http.Header[] headers
private org.apache.http.params.HttpParams params
public void ()
public void (int, java.lang.String)
int statusCode
String responseBody
public transient void (int, java.lang.String, org.apache.http.Header[])
int statusCode
String responseBody
org.apache.http.Header[] headers
public transient void (int, byte[], org.apache.http.Header[])
int statusCode
byte[] responseBody
org.apache.http.Header[] headers
protected void setResponseBody (java.lang.String)
String responseBody
public org.apache.http.StatusLine getStatusLine ()
public org.apache.http.HttpEntity getEntity ()
public org.apache.http.Header[] getAllHeaders ()
public org.apache.http.Header getFirstHeader (java.lang.String)
org.apache.http.Header h
String s
public org.apache.http.Header getLastHeader (java.lang.String)
int i
String s
public org.apache.http.Header[] getHeaders (java.lang.String)
org.apache.http.Header h
String s
java.util.List found
public void addHeader (org.apache.http.Header)
org.apache.http.Header header
java.util.List temp
public void setHeader (org.apache.http.Header)
org.apache.http.Header header
int i
org.apache.http.Header newHeader
public org.apache.http.HeaderIterator headerIterator ()
public org.apache.http.HeaderIterator headerIterator (java.lang.String)
String s
public boolean containsHeader (java.lang.String)
String s
public org.apache.http.params.HttpParams getParams ()
public void setParams (org.apache.http.params.HttpParams)
org.apache.http.params.HttpParams httpParams
public boolean entityContentStreamsHaveBeenClosed ()
static synthetic org.apache.http.Header[] access$000 (org.robolectric.shadows.httpclient.TestHttpResponse)
org.robolectric.shadows.httpclient.TestHttpResponse x0
static synthetic byte[] access$100 (org.robolectric.shadows.httpclient.TestHttpResponse)
org.robolectric.shadows.httpclient.TestHttpResponse x0
static synthetic int access$208 (org.robolectric.shadows.httpclient.TestHttpResponse)
org.robolectric.shadows.httpclient.TestHttpResponse x0
static synthetic int access$210 (org.robolectric.shadows.httpclient.TestHttpResponse)
org.robolectric.shadows.httpclient.TestHttpResponse x0
static synthetic int access$300 (org.robolectric.shadows.httpclient.TestHttpResponse)
org.robolectric.shadows.httpclient.TestHttpResponse x0
}
org/robolectric/shadows/httpclient/HttpRequestInfo.classHttpRequestInfo.java
package org.robolectric.shadows.httpclient
public org.robolectric.shadows.httpclient.HttpRequestInfo extends java.lang.Object {
org.apache.http.HttpRequest httpRequest
org.apache.http.HttpHost httpHost
org.apache.http.protocol.HttpContext httpContext
org.apache.http.client.RequestDirector requestDirector
public void (org.apache.http.HttpRequest, org.apache.http.HttpHost, org.apache.http.protocol.HttpContext, org.apache.http.client.RequestDirector)
org.apache.http.HttpRequest httpRequest
org.apache.http.HttpHost httpHost
org.apache.http.protocol.HttpContext httpContext
org.apache.http.client.RequestDirector requestDirector
public org.apache.http.HttpRequest getHttpRequest ()
public org.apache.http.HttpHost getHttpHost ()
public org.apache.http.protocol.HttpContext getHttpContext ()
public org.apache.http.client.RequestDirector getRequestDirector ()
}
org/robolectric/shadows/httpclient/HttpEntityStub.classHttpEntityStub.java
package org.robolectric.shadows.httpclient
public org.robolectric.shadows.httpclient.HttpEntityStub extends java.lang.Object implements org.apache.http.HttpEntity {
public void ()
public boolean isRepeatable ()
public boolean isChunked ()
public long getContentLength ()
public org.apache.http.Header getContentType ()
public org.apache.http.Header getContentEncoding ()
public java.io.InputStream getContent () throws java.io.IOException java.lang.IllegalStateException
public void writeTo (java.io.OutputStream) throws java.io.IOException
java.io.OutputStream outputStream
public boolean isStreaming ()
public void consumeContent () throws java.io.IOException
}
org/robolectric/shadows/httpclient/TestHttpResponse$TestStatusLine.classTestHttpResponse.java
package org.robolectric.shadows.httpclient
public org.robolectric.shadows.httpclient.TestHttpResponse$TestStatusLine extends org.robolectric.shadows.httpclient.StatusLineStub {
final synthetic org.robolectric.shadows.httpclient.TestHttpResponse this$0
public void (org.robolectric.shadows.httpclient.TestHttpResponse)
org.robolectric.shadows.httpclient.TestHttpResponse this$0
public org.apache.http.ProtocolVersion getProtocolVersion ()
public int getStatusCode ()
public java.lang.String getReasonPhrase ()
public java.lang.String toString ()
}
org/robolectric/shadows/httpclient/FakeHttpLayer$1.classFakeHttpLayer.java
package org.robolectric.shadows.httpclient
org.robolectric.shadows.httpclient.FakeHttpLayer$1 extends java.lang.Object implements org.robolectric.shadows.httpclient.HttpResponseGenerator {
final synthetic org.apache.http.HttpResponse val$httpResponse
final synthetic org.robolectric.shadows.httpclient.FakeHttpLayer this$0
void (org.robolectric.shadows.httpclient.FakeHttpLayer, org.apache.http.HttpResponse)
org.robolectric.shadows.httpclient.FakeHttpLayer this$0
public org.apache.http.HttpResponse getResponse (org.apache.http.HttpRequest)
org.apache.http.HttpRequest request
}
org/robolectric/shadows/ShadowAndroidHttpClient.classShadowAndroidHttpClient.java
package org.robolectric.shadows
public org.robolectric.shadows.ShadowAndroidHttpClient extends java.lang.Object {
private android.net.http.AndroidHttpClient client
private org.apache.http.client.HttpClient httpClient
public void ()
public static android.net.http.AndroidHttpClient newInstance (java.lang.String)
String userAgent
public static android.net.http.AndroidHttpClient newInstance (java.lang.String, android.content.Context)
String userAgent
android.content.Context context
public org.apache.http.params.HttpParams getParams ()
public org.apache.http.conn.ClientConnectionManager getConnectionManager ()
public org.apache.http.HttpResponse execute (org.apache.http.client.methods.HttpUriRequest) throws java.io.IOException org.apache.http.client.ClientProtocolException
org.apache.http.client.methods.HttpUriRequest httpUriRequest
public org.apache.http.HttpResponse execute (org.apache.http.client.methods.HttpUriRequest, org.apache.http.protocol.HttpContext) throws java.io.IOException org.apache.http.client.ClientProtocolException
org.apache.http.client.methods.HttpUriRequest httpUriRequest
org.apache.http.protocol.HttpContext httpContext
public org.apache.http.HttpResponse execute (org.apache.http.HttpHost, org.apache.http.HttpRequest) throws java.io.IOException org.apache.http.client.ClientProtocolException
org.apache.http.HttpHost httpHost
org.apache.http.HttpRequest httpRequest
public org.apache.http.HttpResponse execute (org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) throws java.io.IOException org.apache.http.client.ClientProtocolException
org.apache.http.HttpHost httpHost
org.apache.http.HttpRequest httpRequest
org.apache.http.protocol.HttpContext httpContext
public java.lang.Object execute (org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler) throws java.io.IOException org.apache.http.client.ClientProtocolException
org.apache.http.client.methods.HttpUriRequest httpUriRequest
org.apache.http.client.ResponseHandler responseHandler
public java.lang.Object execute (org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler, org.apache.http.protocol.HttpContext) throws java.io.IOException org.apache.http.client.ClientProtocolException
org.apache.http.client.methods.HttpUriRequest httpUriRequest
org.apache.http.client.ResponseHandler responseHandler
org.apache.http.protocol.HttpContext httpContext
public java.lang.Object execute (org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler) throws java.io.IOException org.apache.http.client.ClientProtocolException
org.apache.http.HttpHost httpHost
org.apache.http.HttpRequest httpRequest
org.apache.http.client.ResponseHandler responseHandler
public java.lang.Object execute (org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler, org.apache.http.protocol.HttpContext) throws java.io.IOException org.apache.http.client.ClientProtocolException
org.apache.http.HttpHost httpHost
org.apache.http.HttpRequest httpRequest
org.apache.http.client.ResponseHandler responseHandler
org.apache.http.protocol.HttpContext httpContext
}
META-INF/services/
META-INF/services/org.robolectric.internal.ShadowProvider