HttpOptions 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 |
|---|---|
| HttpOptions() |
Initializes an OPTIONS request without a request URI. |
| HttpOptions(URI) |
Initializes an OPTIONS request with the specified URI. |
| HttpOptions(String) |
Initializes an OPTIONS request with a URI parsed from the specified string. |
| HttpOptions(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
HttpOptions()
Initializes an OPTIONS request without a request URI.
[Android.Runtime.Register(".ctor", "()V", "")]
public HttpOptions();
- 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.
Applies to
HttpOptions(URI)
Initializes an OPTIONS request with the specified URI.
[Android.Runtime.Register(".ctor", "(Ljava/net/URI;)V", "")]
public HttpOptions(Java.Net.URI? uri);
[<Android.Runtime.Register(".ctor", "(Ljava/net/URI;)V", "")>]
new Org.Apache.Http.Client.Methods.HttpOptions : Java.Net.URI -> Org.Apache.Http.Client.Methods.HttpOptions
Parameters
- uri
- URI
The URI of the resource or server whose options to request.
- 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.
Applies to
HttpOptions(String)
Initializes an OPTIONS request with a URI parsed from the specified string.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public HttpOptions(string? uri);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Org.Apache.Http.Client.Methods.HttpOptions : string -> Org.Apache.Http.Client.Methods.HttpOptions
Parameters
- uri
- String
The URI string of the resource or server whose options to request.
- Attributes
Exceptions
if the uri is invalid.
Thrown when uri is null.
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
HttpOptions(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected HttpOptions(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Client.Methods.HttpOptions : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Client.Methods.HttpOptions
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.