DefaultResponseParser Constructors
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.
Overloads
| Name | Description |
|---|---|
| DefaultResponseParser(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
| DefaultResponseParser(ISessionInputBuffer, ILineParser, IHttpResponseFactory, IHttpParams) |
Creates an HTTP response parser for the supplied session input buffer. |
DefaultResponseParser(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
protected DefaultResponseParser(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Impl.Conn.DefaultResponseParser : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Impl.Conn.DefaultResponseParser
Parameters
- javaReference
-
IntPtr
nativeint
A JNI reference to the Java object.
- transfer
- JniHandleOwnership
Specifies whether ownership of the JNI reference transfers to this instance.
Remarks
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.
Applies to
DefaultResponseParser(ISessionInputBuffer, ILineParser, IHttpResponseFactory, IHttpParams)
Creates an HTTP response parser for the supplied session input buffer.
[Android.Runtime.Register(".ctor", "(Lorg/apache/http/io/SessionInputBuffer;Lorg/apache/http/message/LineParser;Lorg/apache/http/HttpResponseFactory;Lorg/apache/http/params/HttpParams;)V", "")]
public DefaultResponseParser(Org.Apache.Http.IO.ISessionInputBuffer? buffer, Org.Apache.Http.Message.ILineParser? parser, Org.Apache.Http.IHttpResponseFactory? responseFactory, Org.Apache.Http.Params.IHttpParams? params);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/io/SessionInputBuffer;Lorg/apache/http/message/LineParser;Lorg/apache/http/HttpResponseFactory;Lorg/apache/http/params/HttpParams;)V", "")>]
new Org.Apache.Http.Impl.Conn.DefaultResponseParser : Org.Apache.Http.IO.ISessionInputBuffer * Org.Apache.Http.Message.ILineParser * Org.Apache.Http.IHttpResponseFactory * Org.Apache.Http.Params.IHttpParams -> Org.Apache.Http.Impl.Conn.DefaultResponseParser
Parameters
- buffer
- ISessionInputBuffer
The non-null input buffer from which response lines and headers are read.
- parser
- ILineParser
The line parser, or null to use the default basic line parser.
- responseFactory
- IHttpResponseFactory
The non-null factory used to create the parsed response.
- params
- IHttpParams
The non-null parsing parameters, including the limit on lines read before a status line is recognized. This limit does not guarantee that preceding garbage can be skipped.
- Attributes
Remarks
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.