play.libs.ws.ning
Class NingWSCookie

java.lang.Object
  extended by play.libs.ws.ning.NingWSCookie
All Implemented Interfaces:
WSCookie

public class NingWSCookie
extends java.lang.Object
implements WSCookie

The Ning implementation of a WS cookie.


Constructor Summary
NingWSCookie(com.ning.http.client.cookie.Cookie ahcCookie)
           
 
Method Summary
 java.lang.String getDomain()
           
 java.lang.Long getExpires()
           
 java.lang.Integer getMaxAge()
           
 java.lang.String getName()
           
 java.lang.String getPath()
           
 java.lang.Object getUnderlying()
          Returns the underlying "native" object for the cookie.
 java.lang.String getValue()
           
 java.lang.Boolean isSecure()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NingWSCookie

public NingWSCookie(com.ning.http.client.cookie.Cookie ahcCookie)
Method Detail

getUnderlying

public java.lang.Object getUnderlying()
Returns the underlying "native" object for the cookie.

Specified by:
getUnderlying in interface WSCookie

getDomain

public java.lang.String getDomain()
Specified by:
getDomain in interface WSCookie

getName

public java.lang.String getName()
Specified by:
getName in interface WSCookie

getValue

public java.lang.String getValue()
Specified by:
getValue in interface WSCookie

getPath

public java.lang.String getPath()
Specified by:
getPath in interface WSCookie

getExpires

public java.lang.Long getExpires()
Specified by:
getExpires in interface WSCookie

getMaxAge

public java.lang.Integer getMaxAge()
Specified by:
getMaxAge in interface WSCookie

isSecure

public java.lang.Boolean isSecure()
Specified by:
isSecure in interface WSCookie