IClientCookie 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This class is obsoleted in this android platform
ICookie扩展并有权访问服务器提供的原始 Cookie 属性。
[Android.Runtime.Register("org/apache/http/cookie/ClientCookie", "", "Org.Apache.Http.Cookies.IClientCookieInvoker")]
[System.Obsolete("This class is obsoleted in this android platform")]
public interface IClientCookie : IDisposable, Java.Interop.IJavaPeerable, Org.Apache.Http.Cookies.ICookie
[<Android.Runtime.Register("org/apache/http/cookie/ClientCookie", "", "Org.Apache.Http.Cookies.IClientCookieInvoker")>]
[<System.Obsolete("This class is obsoleted in this android platform")>]
type IClientCookie = interface
interface ICookie
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- 派生
- 特性
- 实现
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
字段
| 名称 | 说明 |
|---|---|
| CommentAttr |
已过时.
Cookie 的 Comment 属性的名称。 |
| CommenturlAttr |
已过时.
Cookie 的 CommentURL 属性的名称。 |
| DiscardAttr |
已过时.
Cookie 的“放弃”属性的名称。 |
| DomainAttr |
已过时.
Cookie 的域属性的名称。 |
| ExpiresAttr |
已过时.
Cookie 的 Expires 属性的名称。 |
| MaxAgeAttr |
已过时.
cookie 的 Max-Age 属性的名称。 |
| PathAttr |
已过时.
Cookie 的 Path 属性的名称。 |
| PortAttr |
已过时.
Cookie 的 Port 属性的名称。 |
| SecureAttr |
已过时.
Cookie 的安全属性的名称。 |
| VersionAttr |
已过时.
Cookie 的 Version 属性的名称。 |
属性
| 名称 | 说明 |
|---|---|
| Comment |
已过时.
返回描述此 Cookie 用途的注释,或者 |
| CommentURL |
已过时.
如果用户代理(Web 浏览器)向用户显示此 Cookie,则此 URL 上的信息将描述 Cookie 的目的。 (继承自 ICookie) |
| Domain |
已过时.
返回 Cookie 的域属性。 (继承自 ICookie) |
| ExpiryDate |
已过时.
返回 Cookie 的到期时间 Date ,或者 |
| Handle |
已过时.
获取基础 Android 对象的 JNI 值。 (继承自 IJavaObject) |
| IsPersistent |
已过时.
返回 |
| IsSecure |
已过时.
指示此 Cookie 是否需要安全连接。 (继承自 ICookie) |
| JniIdentityHashCode |
已过时.
返回包装实例的值 |
| JniManagedPeerState |
已过时.
托管对等方的状态。 (继承自 IJavaPeerable) |
| JniObjectReferenceControlBlock |
已过时.
获取特定于实现的 JNI 引用控制块指针。 (继承自 IJavaPeerable) |
| JniPeerMembers |
已过时.
成员访问和调用支持。 (继承自 IJavaPeerable) |
| Name |
已过时.
返回名称。 (继承自 ICookie) |
| Path |
已过时.
返回 Cookie 的路径属性 (继承自 ICookie) |
| PeerReference |
已过时.
返回JniObjectReference包装的Java对象实例。 (继承自 IJavaPeerable) |
| Value |
已过时.
返回值。 (继承自 ICookie) |
| Version |
已过时.
返回此 Cookie 符合的 Cookie 规范的版本。 (继承自 ICookie) |
方法
| 名称 | 说明 |
|---|---|
| ContainsAttribute(String) |
已过时.
检查原始 Cookie 属性是否存在。 |
| Disposed() |
已过时.
在释放实例时调用。 (继承自 IJavaPeerable) |
| DisposeUnlessReferenced() |
已过时.
如果没有对此实例的未完成引用,则调用 |
| Finalized() |
已过时.
在实例完成时调用。 (继承自 IJavaPeerable) |
| GetAttribute(String) |
已过时.
获取服务器提供的 Cookie 属性的原始值。 |
| GetPorts() |
已过时.
获取 Port 属性。 (继承自 ICookie) |
| IsExpired(Date) |
已过时.
如果此 Cookie 已过期,则返回 true。 (继承自 ICookie) |
| SetJniIdentityHashCode(Int32) |
已过时.
设置由 |
| SetJniManagedPeerState(JniManagedPeerStates) |
已过时.
设置由 |
| SetPeerReference(JniObjectReference) |
已过时.
设置由 |
| UnregisterFromRuntime() |
已过时.
取消注册此实例,使运行时不会从将来 Java.Interop.JniRuntime+JniValueManager.PeekValue 的调用中返回它。 (继承自 IJavaPeerable) |
扩展方法
| 名称 | 说明 |
|---|---|
| GetJniTypeName(IJavaPeerable) |
已过时.
获取实例 |
| JavaAs<TResult>(IJavaPeerable) |
已过时.
尝试强制 |
| JavaCast<TResult>(IJavaObject) |
已过时.
执行 Android 运行时检查的类型转换。 |
| JavaCast<TResult>(IJavaObject) |
已过时.
重复使用兼容的托管对等,或获取请求类型的包装器。 |
| TryJavaCast<TResult>(IJavaPeerable, TResult) |
已过时.
尝试强制 |