Sdílet prostřednictvím


DefaultHttpClient Class

Definition

[Android.Runtime.Register("org/apache/http/impl/client/DefaultHttpClient", DoNotGenerateAcw=true)]
public class DefaultHttpClient : Org.Apache.Http.Impl.Client.AbstractHttpClient
[<Android.Runtime.Register("org/apache/http/impl/client/DefaultHttpClient", DoNotGenerateAcw=true)>]
type DefaultHttpClient = class
    inherit AbstractHttpClient
Inheritance
DefaultHttpClient
Attributes

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

DefaultHttpClient()
DefaultHttpClient(IClientConnectionManager, IHttpParams)
DefaultHttpClient(IHttpParams)
DefaultHttpClient(IntPtr, JniHandleOwnership)

Properties

AuthSchemes (Inherited from AbstractHttpClient)
Class

Returns the runtime class of this Object.

(Inherited from Object)
ConnectionKeepAliveStrategy (Inherited from AbstractHttpClient)
ConnectionManager (Inherited from AbstractHttpClient)
ConnectionReuseStrategy (Inherited from AbstractHttpClient)
CookieSpecs (Inherited from AbstractHttpClient)
CookieStore (Inherited from AbstractHttpClient)
CredentialsProvider (Inherited from AbstractHttpClient)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
HttpProcessor (Inherited from AbstractHttpClient)
HttpRequestRetryHandler (Inherited from AbstractHttpClient)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
Params (Inherited from AbstractHttpClient)
PeerReference (Inherited from Object)
ProxyAuthenticationHandler (Inherited from AbstractHttpClient)
RedirectHandler (Inherited from AbstractHttpClient)
RequestExecutor (Inherited from AbstractHttpClient)
RequestInterceptorCount (Inherited from AbstractHttpClient)
ResponseInterceptorCount (Inherited from AbstractHttpClient)
RoutePlanner (Inherited from AbstractHttpClient)
TargetAuthenticationHandler (Inherited from AbstractHttpClient)
ThresholdClass
ThresholdType
UserTokenHandler (Inherited from AbstractHttpClient)

Methods

AddRequestInterceptor(IHttpRequestInterceptor, Int32) (Inherited from AbstractHttpClient)
AddRequestInterceptor(IHttpRequestInterceptor) (Inherited from AbstractHttpClient)
AddResponseInterceptor(IHttpResponseInterceptor, Int32) (Inherited from AbstractHttpClient)
AddResponseInterceptor(IHttpResponseInterceptor) (Inherited from AbstractHttpClient)
ClearRequestInterceptors() (Inherited from AbstractHttpClient)
ClearResponseInterceptors() (Inherited from AbstractHttpClient)
Clone()

Creates and returns a copy of this object.

(Inherited from Object)
CreateAuthSchemeRegistry()
CreateClientConnectionManager()
CreateConnectionKeepAliveStrategy()
CreateConnectionReuseStrategy()
CreateCookieSpecRegistry()
CreateCookieStore()
CreateCredentialsProvider()
CreateHttpContext()
CreateHttpParams()
CreateHttpProcessor()
CreateHttpRequestRetryHandler()
CreateHttpRoutePlanner()
CreateProxyAuthenticationHandler()
CreateRedirectHandler()
CreateRequestExecutor()
CreateTargetAuthenticationHandler()
CreateUserTokenHandler()
DetermineParams(IHttpRequest) (Inherited from AbstractHttpClient)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
Execute(HttpHost, IHttpRequest, IHttpContext) (Inherited from AbstractHttpClient)
Execute(HttpHost, IHttpRequest, IResponseHandler, IHttpContext) (Inherited from AbstractHttpClient)
Execute(HttpHost, IHttpRequest, IResponseHandler) (Inherited from AbstractHttpClient)
Execute(HttpHost, IHttpRequest) (Inherited from AbstractHttpClient)
Execute(IHttpUriRequest, IHttpContext) (Inherited from AbstractHttpClient)
Execute(IHttpUriRequest, IResponseHandler, IHttpContext) (Inherited from AbstractHttpClient)
Execute(IHttpUriRequest, IResponseHandler) (Inherited from AbstractHttpClient)
Execute(IHttpUriRequest) (Inherited from AbstractHttpClient)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetRequestInterceptor(Int32) (Inherited from AbstractHttpClient)
GetResponseInterceptor(Int32) (Inherited from AbstractHttpClient)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
RemoveRequestInterceptorByClass(Class) (Inherited from AbstractHttpClient)
RemoveResponseInterceptorByClass(Class) (Inherited from AbstractHttpClient)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetKeepAliveStrategy(IConnectionKeepAliveStrategy) (Inherited from AbstractHttpClient)
SetReuseStrategy(IConnectionReuseStrategy) (Inherited from AbstractHttpClient)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)
ExecuteAsync(IHttpClient, IHttpUriRequest, IResponseHandler, IHttpContext)
ExecuteAsync(IHttpClient, IHttpUriRequest, IResponseHandler)
ExecuteAsync(IHttpClient, IHttpUriRequest, IHttpContext)
ExecuteAsync(IHttpClient, IHttpUriRequest)
ExecuteAsync(IHttpClient, HttpHost, IHttpRequest, IResponseHandler, IHttpContext)
ExecuteAsync(IHttpClient, HttpHost, IHttpRequest, IResponseHandler)
ExecuteAsync(IHttpClient, HttpHost, IHttpRequest, IHttpContext)
ExecuteAsync(IHttpClient, HttpHost, IHttpRequest)

Applies to