다음을 통해 공유


IHttpResponse Interface

Definition

An HTTP response.

[Android.Runtime.Register("org/apache/http/HttpResponse", "", "Org.Apache.Http.IHttpResponseInvoker")]
public interface IHttpResponse : IDisposable, Java.Interop.IJavaPeerable, Org.Apache.Http.IHttpMessage
[<Android.Runtime.Register("org/apache/http/HttpResponse", "", "Org.Apache.Http.IHttpResponseInvoker")>]
type IHttpResponse = interface
    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

Entity

Obtains the message entity of this response, if any.

Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
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)
Locale

Obtains the locale of this response.

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

Obtains the status line of this response.

Methods

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)
SetReasonPhrase(String)

Updates the status line of this response with a new reason phrase.

SetStatusCode(Int32)

Updates the status line of this response with a new status code.

SetStatusLine(ProtocolVersion, Int32, String)

Sets the status line of this response with a reason phrase.

SetStatusLine(ProtocolVersion, Int32)

Sets the status line of this response with a reason phrase.

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