play.libs.ws.ning
Class NingWSCookie
java.lang.Object
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NingWSCookie
public NingWSCookie(com.ning.http.client.cookie.Cookie ahcCookie)
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