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