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