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