Package org.robovm.apple.foundation
Class NSHTTPCookie
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSHTTPCookie
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class NSHTTPCookie extends NSObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSHTTPCookie.NSHTTPCookiePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description NSHTTPCookie()
NSHTTPCookie(NSHTTPCookieAttributes properties)
protected
NSHTTPCookie(NSObject.Handle h, long handle)
protected
NSHTTPCookie(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getComment()
NSURL
getCommentURL()
static NSArray<NSHTTPCookie>
getCookiesWithResponseHeaderFields(java.util.Map<java.lang.String,java.lang.String> headerFields, NSURL url)
java.lang.String
getDomain()
NSDate
getExpiresDate()
java.lang.String
getName()
java.lang.String
getPath()
java.util.List<java.lang.Integer>
getPortList()
NSHTTPCookieAttributes
getProperties()
static java.util.Map<java.lang.String,java.lang.String>
getRequestHeaderFieldsWithCookies(NSArray<NSHTTPCookie> cookies)
java.lang.String
getValue()
long
getVersion()
protected long
init(NSHTTPCookieAttributes properties)
boolean
isHTTPOnly()
boolean
isSecure()
boolean
isSessionOnly()
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
NSHTTPCookie
public NSHTTPCookie()
-
NSHTTPCookie
protected NSHTTPCookie(NSObject.Handle h, long handle)
-
NSHTTPCookie
protected NSHTTPCookie(NSObject.SkipInit skipInit)
-
NSHTTPCookie
public NSHTTPCookie(NSHTTPCookieAttributes properties)
-
-
Method Detail
-
getProperties
public NSHTTPCookieAttributes getProperties()
-
getVersion
public long getVersion()
-
getName
public java.lang.String getName()
-
getValue
public java.lang.String getValue()
-
getExpiresDate
public NSDate getExpiresDate()
-
isSessionOnly
public boolean isSessionOnly()
-
getDomain
public java.lang.String getDomain()
-
getPath
public java.lang.String getPath()
-
isSecure
public boolean isSecure()
-
isHTTPOnly
public boolean isHTTPOnly()
-
getComment
public java.lang.String getComment()
-
getCommentURL
public NSURL getCommentURL()
-
getPortList
public java.util.List<java.lang.Integer> getPortList()
-
init
protected long init(NSHTTPCookieAttributes properties)
-
getRequestHeaderFieldsWithCookies
public static java.util.Map<java.lang.String,java.lang.String> getRequestHeaderFieldsWithCookies(NSArray<NSHTTPCookie> cookies)
-
getCookiesWithResponseHeaderFields
public static NSArray<NSHTTPCookie> getCookiesWithResponseHeaderFields(java.util.Map<java.lang.String,java.lang.String> headerFields, NSURL url)
-
-