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