public class Uri extends Object
URI
in
an href attribute. Done with JAXB.Modifier and Type | Class and Description |
---|---|
static class |
Uri.Rewriter
A bean that allows configuration of how to rewrite generated URIs to be
secure.
|
Modifier and Type | Field and Description |
---|---|
URI |
ref
This type is characterised by an attribute that is the reference to some
other element.
|
Constructor and Description |
---|
Uri()
Make a reference that points nowhere.
|
Uri(URI ref)
Make a reference to the given location.
|
Uri(javax.ws.rs.core.UriBuilder ub,
String... strings)
Make a reference from the factory with the given parameters.
|
Uri(javax.ws.rs.core.UriInfo ui,
boolean secure,
String path,
String... strings)
Make a reference from the factory with the given parameters.
|
Uri(javax.ws.rs.core.UriInfo ui,
String path,
String... strings)
Make a reference from the factory with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
static URI |
secure(URI uri) |
static javax.ws.rs.core.UriBuilder |
secure(javax.ws.rs.core.UriBuilder ub) |
static javax.ws.rs.core.UriBuilder |
secure(javax.ws.rs.core.UriInfo ui) |
static URI |
secure(URI base,
String uri) |
public URI ref
public Uri()
public Uri(@Nonnull URI ref)
ref
- Where to point to.public Uri(@Nonnull javax.ws.rs.core.UriBuilder ub, String... strings)
ub
- The configured factory.strings
- The parameters to the factory.public Uri(@Nonnull javax.ws.rs.core.UriInfo ui, @Nonnull String path, String... strings)
ui
- The factory factory.path
- The path to configure the factory with.strings
- The parameters to the factory.public Uri(@Nonnull javax.ws.rs.core.UriInfo ui, boolean secure, @Nonnull String path, String... strings)
ui
- The factory factory.secure
- Whether the URI should be required to use HTTPS.path
- The path to configure the factory with.strings
- The parameters to the factory.Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.