IHttpUriRequest Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
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 |
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
|
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 |
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 |
SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from IJavaPeerable) |
SetPeerReference(JniObjectReference) |
Set the value returned by |
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) |