IHttpServerConnection Interface

Definition

Caution

This class is obsoleted in this android platform

An HTTP connection for use on the server side.

[Android.Runtime.Register("org/apache/http/HttpServerConnection", "", "Org.Apache.Http.IHttpServerConnectionInvoker", ApiSince=1)]
[System.Obsolete("This class is obsoleted in this android platform")]
public interface IHttpServerConnection : IDisposable, Org.Apache.Http.IHttpConnection
type IHttpServerConnection = interface
    interface IHttpConnection
    interface IJavaObject
    interface IDisposable
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)
IsOpen

Checks if this connection is open.

(Inherited from IHttpConnection)
IsStale

Checks whether this connection has gone down.

(Inherited from IHttpConnection)
Metrics

Returns a collection of connection metrcis

(Inherited from IHttpConnection)
SocketTimeout

Returns the socket timeout value.

(Inherited from IHttpConnection)

Methods

Close()

Closes this connection gracefully.

(Inherited from IHttpConnection)
Flush()

Sends all pending buffered data over this connection.

ReceiveRequestEntity(IHttpEntityEnclosingRequest)

Receives the next request entity available from this connection and attaches it to an existing request.

ReceiveRequestHeader()

Receives the request line and all headers available from this connection.

SendResponseEntity(IHttpResponse)

Sends the response entity of a response over this connection.

SendResponseHeader(IHttpResponse)

Sends the response line and headers of a response over this connection.

Shutdown()

Force-closes this connection.

(Inherited from IHttpConnection)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
FlushAsync(IHttpServerConnection)
ReceiveRequestHeaderAsync(IHttpServerConnection)
SendResponseEntityAsync(IHttpServerConnection, IHttpResponse)
SendResponseHeaderAsync(IHttpServerConnection, IHttpResponse)

Applies to