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