BasicHttpProcessor Class

Definition

Keeps lists of interceptors for processing requests and responses.

[Android.Runtime.Register("org/apache/http/protocol/BasicHttpProcessor", DoNotGenerateAcw=true)]
public sealed class BasicHttpProcessor : Java.Lang.Object, IDisposable, Java.Interop.IJavaPeerable, Java.Lang.ICloneable, Org.Apache.Http.Protocol.IHttpProcessor, Org.Apache.Http.Protocol.IHttpRequestInterceptorList, Org.Apache.Http.Protocol.IHttpResponseInterceptorList
[<Android.Runtime.Register("org/apache/http/protocol/BasicHttpProcessor", DoNotGenerateAcw=true)>]
type BasicHttpProcessor = class
    inherit Object
    interface ICloneable
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
    interface IHttpProcessor
    interface IHttpRequestInterceptor
    interface IHttpResponseInterceptor
    interface IHttpRequestInterceptorList
    interface IHttpResponseInterceptorList
Inheritance
BasicHttpProcessor
Attributes
Implements

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

BasicHttpProcessor()

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PeerReference (Inherited from Object)
RequestInterceptorCount

Obtains the current size of this list.

ResponseInterceptorCount

Obtains the current size of this list.

ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)

Methods

AddInterceptor(IHttpRequestInterceptor)

Same as AddRequestInterceptor(IHttpRequestInterceptor).

AddInterceptor(IHttpRequestInterceptor, Int32)
AddInterceptor(IHttpResponseInterceptor)

Same as AddResponseInterceptor(IHttpResponseInterceptor).

AddInterceptor(IHttpResponseInterceptor, Int32)
AddRequestInterceptor(IHttpRequestInterceptor)

Inserts a request interceptor at the specified index.

AddRequestInterceptor(IHttpRequestInterceptor, Int32)

Inserts a request interceptor at the specified index.

AddResponseInterceptor(IHttpResponseInterceptor)

Inserts a response interceptor at the specified index.

AddResponseInterceptor(IHttpResponseInterceptor, Int32)

Inserts a response interceptor at the specified index.

ClearInterceptors()

Clears both interceptor lists maintained by this processor.

ClearRequestInterceptors()

Removes all request interceptors from this list.

ClearResponseInterceptors()

Removes all response interceptors from this list.

Clone()

Creates and returns a copy of this Object.

Copy()

Creates a copy of this instance

Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

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

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetRequestInterceptor(Int32)

Obtains a request interceptor from this list.

GetResponseInterceptor(Int32)

Obtains a response interceptor from this list.

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)
Process(IHttpRequest, IHttpContext)

Processes a response.

Process(IHttpResponse, IHttpContext)

Processes a response.

RemoveRequestInterceptorByClass(Class)

Removes all request interceptor of the specified class

RemoveResponseInterceptorByClass(Class)

Removes all response interceptor of the specified class

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetInterceptors(IList)

Sets the interceptor lists.

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)

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, 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)

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)

Applies to