@Singleton public class NewCookieProvider extends Object implements HeaderDelegateProvider<jakarta.ws.rs.core.NewCookie>
Set-Cookie header delegate provider.| Constructor and Description |
|---|
NewCookieProvider() |
| Modifier and Type | Method and Description |
|---|---|
jakarta.ws.rs.core.NewCookie |
fromString(String header) |
boolean |
supports(Class<?> type)
Ascertain if the Provider supports a particular type.
|
String |
toString(jakarta.ws.rs.core.NewCookie cookie) |
public boolean supports(Class<?> type)
HeaderDelegateProvidersupports in interface HeaderDelegateProvider<jakarta.ws.rs.core.NewCookie>type - the type that is to be supported.public String toString(jakarta.ws.rs.core.NewCookie cookie)
toString in interface jakarta.ws.rs.ext.RuntimeDelegate.HeaderDelegate<jakarta.ws.rs.core.NewCookie>public jakarta.ws.rs.core.NewCookie fromString(String header)
fromString in interface jakarta.ws.rs.ext.RuntimeDelegate.HeaderDelegate<jakarta.ws.rs.core.NewCookie>Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.