IManagedClientConnection 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.
A client-side connection with advanced connection logic.
[Android.Runtime.Register("org/apache/http/conn/ManagedClientConnection", "", "Org.Apache.Http.Conn.IManagedClientConnectionInvoker")]
public interface IManagedClientConnection : IDisposable, Java.Interop.IJavaPeerable, Org.Apache.Http.Conn.IConnectionReleaseTrigger, Org.Apache.Http.IHttpClientConnection, Org.Apache.Http.IHttpInetConnection
[<Android.Runtime.Register("org/apache/http/conn/ManagedClientConnection", "", "Org.Apache.Http.Conn.IManagedClientConnectionInvoker")>]
type IManagedClientConnection = interface
interface IConnectionReleaseTrigger
interface IJavaObject
interface IDisposable
interface IJavaPeerable
interface IHttpClientConnection
interface IHttpConnection
interface IHttpInetConnection
- 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) |
IsMarkedReusable |
Indicates whether this connection is in a reusable communication state. |
IsOpen |
Checks if this connection is open. (Inherited from IHttpConnection) |
IsSecure |
Indicates whether this connection is secure. |
IsStale |
Checks whether this connection has gone down. (Inherited from IHttpConnection) |
JniIdentityHashCode |
Returns the value of |
JniManagedPeerState |
State of the managed peer. (Inherited from IJavaPeerable) |
JniPeerMembers |
Member access and invocation support. (Inherited from IJavaPeerable) |
LocalAddress | (Inherited from IHttpInetConnection) |
LocalPort | (Inherited from IHttpInetConnection) |
Metrics |
Returns a collection of connection metrcis (Inherited from IHttpConnection) |
PeerReference |
Returns a JniObjectReference of the wrapped Java object instance. (Inherited from IJavaPeerable) |
RemoteAddress | (Inherited from IHttpInetConnection) |
RemotePort | (Inherited from IHttpInetConnection) |
Route |
Obtains the current route of this connection. |
SocketTimeout |
Returns the socket timeout value. (Inherited from IHttpConnection) |
SSLSession |
Obtains the SSL session of the underlying connection, if any. |
State |
Returns the state object associated with this connection. |
Methods
AbortConnection() |
Releases the connection without the option of keep-alive. (Inherited from IConnectionReleaseTrigger) |
Close() |
Closes this connection gracefully. (Inherited from IHttpConnection) |
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) |
Flush() |
Writes out all pending buffered data over the open connection. (Inherited from IHttpClientConnection) |
IsResponseAvailable(Int32) |
Checks if response data is available from the connection. (Inherited from IHttpClientConnection) |
LayerProtocol(IHttpContext, IHttpParams) |
Layers a new protocol on top of a TunnelTarget(Boolean, IHttpParams) connection. |
MarkReusable() |
Marks this connection as being in a reusable communication state. |
Open(HttpRoute, IHttpContext, IHttpParams) |
Opens this connection according to the given route. |
ReceiveResponseEntity(IHttpResponse) |
Receives the next response entity available from this connection and attaches it to an existing HttpResponse object. (Inherited from IHttpClientConnection) |
ReceiveResponseHeader() |
Receives the request line and headers of the next response available from this connection. (Inherited from IHttpClientConnection) |
ReleaseConnection() |
Releases the connection with the option of keep-alive. (Inherited from IConnectionReleaseTrigger) |
SendRequestEntity(IHttpEntityEnclosingRequest) |
Sends the request entity over the connection. (Inherited from IHttpClientConnection) |
SendRequestHeader(IHttpRequest) |
Sends the request line and all headers over the connection. (Inherited from IHttpClientConnection) |
SetIdleDuration(Int64, TimeUnit) |
Sets the duration that this connection can remain idle before it is reused. |
SetJniIdentityHashCode(Int32) |
Set the value returned by |
SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from IJavaPeerable) |
SetPeerReference(JniObjectReference) |
Set the value returned by |
Shutdown() |
Force-closes this connection. (Inherited from IHttpConnection) |
TunnelProxy(HttpHost, Boolean, IHttpParams) |
Indicates that a tunnel to an intermediate proxy has been established. |
TunnelTarget(Boolean, IHttpParams) |
Indicates that a tunnel to the target has been established. |
UnmarkReusable() |
Marks this connection as not being in a reusable state. |
UnregisterFromRuntime() |
Unregister this instance so that the runtime will not return it from future Java.Interop.JniRuntime+JniValueManager.PeekValue invocations. (Inherited from IJavaPeerable) |