com.webobjects.appserver
Class WOCookieWrapper
java.lang.Object
com.webobjects.appserver.WOCookieWrapper
- All Implemented Interfaces:
- Comparable<org.jboss.netty.handler.codec.http.Cookie>, org.jboss.netty.handler.codec.http.Cookie
public class WOCookieWrapper
- extends Object
- implements org.jboss.netty.handler.codec.http.Cookie
Wrapper for WOCookie to pass to Netty HttpResponseEncoder
- Author:
- ravim
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WOCookieWrapper
public WOCookieWrapper(WOCookie cookie)
getComment
public String getComment()
- Specified by:
getComment in interface org.jboss.netty.handler.codec.http.Cookie
getCommentUrl
public String getCommentUrl()
- Specified by:
getCommentUrl in interface org.jboss.netty.handler.codec.http.Cookie
getDomain
public String getDomain()
- Specified by:
getDomain in interface org.jboss.netty.handler.codec.http.Cookie
getMaxAge
public int getMaxAge()
- Specified by:
getMaxAge in interface org.jboss.netty.handler.codec.http.Cookie
getName
public String getName()
- Specified by:
getName in interface org.jboss.netty.handler.codec.http.Cookie
getPath
public String getPath()
- Specified by:
getPath in interface org.jboss.netty.handler.codec.http.Cookie
getPorts
public Set<Integer> getPorts()
- Specified by:
getPorts in interface org.jboss.netty.handler.codec.http.Cookie
getValue
public String getValue()
- Specified by:
getValue in interface org.jboss.netty.handler.codec.http.Cookie
getVersion
public int getVersion()
- Specified by:
getVersion in interface org.jboss.netty.handler.codec.http.Cookie
isDiscard
public boolean isDiscard()
- Specified by:
isDiscard in interface org.jboss.netty.handler.codec.http.Cookie
isHttpOnly
public boolean isHttpOnly()
- Specified by:
isHttpOnly in interface org.jboss.netty.handler.codec.http.Cookie
setComment
public void setComment(String comment)
- Specified by:
setComment in interface org.jboss.netty.handler.codec.http.Cookie
setCommentUrl
public void setCommentUrl(String commentUrl)
- Specified by:
setCommentUrl in interface org.jboss.netty.handler.codec.http.Cookie
setDiscard
public void setDiscard(boolean discard)
- Specified by:
setDiscard in interface org.jboss.netty.handler.codec.http.Cookie
setHttpOnly
public void setHttpOnly(boolean httpOnly)
- Specified by:
setHttpOnly in interface org.jboss.netty.handler.codec.http.Cookie
setMaxAge
public void setMaxAge(int maxAge)
- Specified by:
setMaxAge in interface org.jboss.netty.handler.codec.http.Cookie
setPorts
public void setPorts(int... ports)
- Specified by:
setPorts in interface org.jboss.netty.handler.codec.http.Cookie
setPorts
public void setPorts(Iterable<Integer> ports)
- Specified by:
setPorts in interface org.jboss.netty.handler.codec.http.Cookie
setSecure
public void setSecure(boolean secure)
- Specified by:
setSecure in interface org.jboss.netty.handler.codec.http.Cookie
setVersion
public void setVersion(int version)
- Specified by:
setVersion in interface org.jboss.netty.handler.codec.http.Cookie
compareTo
public int compareTo(org.jboss.netty.handler.codec.http.Cookie o)
- Specified by:
compareTo in interface Comparable<org.jboss.netty.handler.codec.http.Cookie>
isSecure
public boolean isSecure()
- Specified by:
isSecure in interface org.jboss.netty.handler.codec.http.Cookie
setDomain
public void setDomain(String domain)
- Specified by:
setDomain in interface org.jboss.netty.handler.codec.http.Cookie
setPath
public void setPath(String path)
- Specified by:
setPath in interface org.jboss.netty.handler.codec.http.Cookie
setValue
public void setValue(String value)
- Specified by:
setValue in interface org.jboss.netty.handler.codec.http.Cookie
Copyright © 2002 – 2011 Project Wonder.