IHttpUriRequest Interface

Definition

Extended version of the IHttpRequest interface that provides convenience methods to access request properties such as request URI and method type.

[Android.Runtime.Register("org/apache/http/client/methods/HttpUriRequest", "", "Org.Apache.Http.Client.Methods.IHttpUriRequestInvoker")]
public interface IHttpUriRequest : IDisposable, Java.Interop.IJavaPeerable, Org.Apache.Http.IHttpRequest
[<Android.Runtime.Register("org/apache/http/client/methods/HttpUriRequest", "", "Org.Apache.Http.Client.Methods.IHttpUriRequestInvoker")>]
type IHttpUriRequest = interface
    interface IHttpRequest
    interface IHttpMessage
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Derived
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.

Properties

Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
IsAborted

Tests if the request execution has been aborted.

JniIdentityHashCode

Returns the value of java.lang.System.identityHashCode() for the wrapped instance.

(Inherited from IJavaPeerable)
JniManagedPeerState

State of the managed peer.

(Inherited from IJavaPeerable)
JniPeerMembers

Member access and invocation support.

(Inherited from IJavaPeerable)
Method

Returns the HTTP method this request uses, such as GET, PUT, POST, or other.

Params

Returns the parameters effective for this message as set by Params.

(Inherited from IHttpMessage)
PeerReference

Returns a JniObjectReference of the wrapped Java object instance.

(Inherited from IJavaPeerable)
ProtocolVersion

Returns the protocol version this message is compatible with.

(Inherited from IHttpMessage)
RequestLine

Returns the request line of this request.

(Inherited from IHttpRequest)
URI

Returns the URI this request uses, such as http://example.org/path/to/file.

Methods

Abort()

Aborts execution of the request.

AddHeader(IHeader)

Adds a header to this message.

(Inherited from IHttpMessage)
AddHeader(String, String)

Adds a header to this message.

(Inherited from IHttpMessage)
ContainsHeader(String)

Checks if a certain header is present in this message.

(Inherited from IHttpMessage)
Disposed()

Called when the instance has been disposed.

(Inherited from IJavaPeerable)
DisposeUnlessReferenced()

If there are no outstanding references to this instance, then calls Dispose(); otherwise, does nothing.

(Inherited from IJavaPeerable)
Finalized()

Called when the instance has been finalized.

(Inherited from IJavaPeerable)
GetAllHeaders()

Returns all the headers of this message.

(Inherited from IHttpMessage)
GetFirstHeader(String)

Returns the first header with a specified name of this message.

(Inherited from IHttpMessage)
GetHeaders(String)

Returns all the headers with a specified name of this message.

(Inherited from IHttpMessage)
GetLastHeader(String)

Returns the last header with a specified name of this message.

(Inherited from IHttpMessage)
HeaderIterator()

Returns an iterator of the headers with a given name.

(Inherited from IHttpMessage)
HeaderIterator(String)

Returns an iterator of the headers with a given name.

(Inherited from IHttpMessage)
RemoveHeader(IHeader)

Removes a header from this message.

(Inherited from IHttpMessage)
RemoveHeaders(String)

Removes all headers with a certain name from this message.

(Inherited from IHttpMessage)
SetHeader(IHeader)

Overwrites the first header with the same name.

(Inherited from IHttpMessage)
SetHeader(String, String)

Overwrites the first header with the same name.

(Inherited from IHttpMessage)
SetHeaders(IHeader[])

Overwrites all the headers in the message.

(Inherited from IHttpMessage)
SetJniIdentityHashCode(Int32)

Set the value returned by JniIdentityHashCode.

(Inherited from IJavaPeerable)
SetJniManagedPeerState(JniManagedPeerStates) (Inherited from IJavaPeerable)
SetPeerReference(JniObjectReference)

Set the value returned by PeerReference.

(Inherited from IJavaPeerable)
UnregisterFromRuntime()

Unregister this instance so that the runtime will not return it from future Java.Interop.JniRuntime+JniValueManager.PeekValue invocations.

(Inherited from IJavaPeerable)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to