|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.message.internal.CookieProvider
@Singleton public class CookieProvider
Request Cookie header delegate provider.
| Constructor Summary | |
|---|---|
CookieProvider()
|
|
| Method Summary | |
|---|---|
Cookie |
fromString(String header)
Parse the supplied value and create an instance of T. |
boolean |
supports(Class<?> type)
Ascertain if the Provider supports a particular type. |
String |
toString(Cookie cookie)
Convert the supplied value to a String. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CookieProvider()
| Method Detail |
|---|
public boolean supports(Class<?> type)
HeaderDelegateProvider
supports in interface HeaderDelegateProvider<Cookie>type - the type that is to be supported.
public String toString(Cookie cookie)
RuntimeDelegate.HeaderDelegate
toString in interface RuntimeDelegate.HeaderDelegate<Cookie>cookie - the value of type T.
public Cookie fromString(String header)
RuntimeDelegate.HeaderDelegateT.
fromString in interface RuntimeDelegate.HeaderDelegate<Cookie>header - the string value.
T.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||