org.inria.ns.reflex.modules.web
Class XCookie

java.lang.Object
  extended by org.inria.ns.reflex.modules.web.XCookie
All Implemented Interfaces:
Unwrappable, XOperable

public class XCookie
extends Object
implements Unwrappable, XOperable

XCookie (#web:x-cookie) wraps a Cookie.

Author:
Philippe Poulard
See Also:
Cookie, Cookie

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.inria.ns.reflex.structures.Unwrappable
Unwrappable.Unwrapper
 
Field Summary
 
Fields inherited from interface org.inria.ns.reflex.structures.Unwrappable
UNWRAPPER
 
Constructor Summary
XCookie(Cookie cookie)
          Create a new XCookie.
XCookie(Cookie cookie)
          Create a new XCookie.
 
Method Summary
 XOperator getXOperator()
          Return the XOperator for cookies.
 Object unwrap()
          Return the wrapped cookie.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XCookie

public XCookie(Cookie cookie)
Create a new XCookie.

Parameters:
cookie - The cookie to wrap.

XCookie

public XCookie(Cookie cookie)
Create a new XCookie.

Parameters:
cookie - The cookie to wrap.
Method Detail

getXOperator

public XOperator getXOperator()
Return the XOperator for cookies.

Specified by:
getXOperator in interface XOperable
Returns:
The XCookie XOperator.

unwrap

public Object unwrap()
Return the wrapped cookie.

Specified by:
unwrap in interface Unwrappable
Returns:
The cookie.
See Also:
Cookie, Cookie