|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.resteasy.plugins.delegates.ServerCookie
public class ServerCookie
Server-side cookie representation. Stolen from Tomcat.
Field Summary | |
---|---|
static java.util.TimeZone |
GMT_ZONE
GMT timezone - all HTTP dates are on GMT |
Constructor Summary | |
---|---|
ServerCookie()
|
Method Summary | |
---|---|
static boolean |
alreadyQuoted(java.lang.String value)
|
static void |
appendCookieValue(java.lang.StringBuffer headerBuf,
int version,
java.lang.String name,
java.lang.String value,
java.lang.String path,
java.lang.String domain,
java.lang.String comment,
int maxAge,
boolean isSecure)
|
static boolean |
checkName(java.lang.String name)
Deprecated. - Not used |
static boolean |
containsCTL(java.lang.String value,
int version)
|
static java.lang.String |
formatOldCookie(java.util.Date d)
|
static void |
formatOldCookie(java.util.Date d,
java.lang.StringBuffer sb,
java.text.FieldPosition fp)
|
static java.lang.String |
getCookieHeaderName(int version)
Return the header name to set the cookie, based on cookie version. |
static boolean |
isToken(java.lang.String value)
|
static boolean |
isToken2(java.lang.String value)
|
static void |
maybeQuote(int version,
java.lang.StringBuffer buf,
java.lang.String value)
Deprecated. - Not used |
static void |
maybeQuote2(int version,
java.lang.StringBuffer buf,
java.lang.String value)
Quotes values using rules that vary depending on Cookie version. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.util.TimeZone GMT_ZONE
Constructor Detail |
---|
public ServerCookie()
Method Detail |
---|
public static boolean isToken(java.lang.String value)
public static boolean containsCTL(java.lang.String value, int version)
public static boolean isToken2(java.lang.String value)
public static boolean checkName(java.lang.String name)
public static java.lang.String getCookieHeaderName(int version)
public static java.lang.String formatOldCookie(java.util.Date d)
public static void formatOldCookie(java.util.Date d, java.lang.StringBuffer sb, java.text.FieldPosition fp)
public static void appendCookieValue(java.lang.StringBuffer headerBuf, int version, java.lang.String name, java.lang.String value, java.lang.String path, java.lang.String domain, java.lang.String comment, int maxAge, boolean isSecure)
@Deprecated public static void maybeQuote(int version, java.lang.StringBuffer buf, java.lang.String value)
public static boolean alreadyQuoted(java.lang.String value)
public static void maybeQuote2(int version, java.lang.StringBuffer buf, java.lang.String value)
version
- buf
- value
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |