BestMatchSpec 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 |
|---|---|
| BestMatchSpec() |
Initializes a new instance of the BestMatchSpec class. |
| BestMatchSpec(IntPtr, JniHandleOwnership) |
Initializes a managed wrapper for an existing Java cookie implementation. |
| BestMatchSpec(String[], Boolean) |
Initializes a new instance of the BestMatchSpec class. |
BestMatchSpec()
Initializes a new instance of the BestMatchSpec class.
[Android.Runtime.Register(".ctor", "()V", "")]
public BestMatchSpec();
- 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
BestMatchSpec(IntPtr, JniHandleOwnership)
Initializes a managed wrapper for an existing Java cookie implementation.
protected BestMatchSpec(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Impl.Cookie.BestMatchSpec : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Impl.Cookie.BestMatchSpec
Parameters
- javaReference
-
IntPtr
nativeint
A handle to the existing Java peer.
- transfer
- JniHandleOwnership
Specifies whether this wrapper assumes ownership of the Java handle.
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
BestMatchSpec(String[], Boolean)
Initializes a new instance of the BestMatchSpec class.
[Android.Runtime.Register(".ctor", "([Ljava/lang/String;Z)V", "")]
public BestMatchSpec(string[]? datepatterns, bool oneHeader);
[<Android.Runtime.Register(".ctor", "([Ljava/lang/String;Z)V", "")>]
new Org.Apache.Http.Impl.Cookie.BestMatchSpec : string[] * bool -> Org.Apache.Http.Impl.Cookie.BestMatchSpec
Parameters
- datepatterns
- String[]
The date patterns to use for expiry-date parsing.
- oneHeader
- Boolean
Whether versioned cookies handled by the RFC 2965 policy should be emitted in one header.
- 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.