BasicRequestLine 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 |
|---|---|
| BasicRequestLine(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
| BasicRequestLine(String, String, ProtocolVersion) |
Initializes a request line with the method, URI, and HTTP version. |
BasicRequestLine(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected BasicRequestLine(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Message.BasicRequestLine : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Message.BasicRequestLine
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
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
BasicRequestLine(String, String, ProtocolVersion)
Initializes a request line with the method, URI, and HTTP version.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Lorg/apache/http/ProtocolVersion;)V", "")]
public BasicRequestLine(string? method, string? uri, Org.Apache.Http.ProtocolVersion? version);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Lorg/apache/http/ProtocolVersion;)V", "")>]
new Org.Apache.Http.Message.BasicRequestLine : string * string * Org.Apache.Http.ProtocolVersion -> Org.Apache.Http.Message.BasicRequestLine
Parameters
- method
- String
The request method; must not be null.
- uri
- String
The request URI; must not be null.
- version
- ProtocolVersion
The protocol version; must not be null.
- 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.