public class UriRendering
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
UriRendering.AuthorityRenderer$ |
static class |
UriRendering.HostRenderer$ |
static class |
UriRendering.PathRenderer$ |
static class |
UriRendering.QueryRenderer$ |
static class |
UriRendering.UriRenderer$ |
Constructor and Description |
---|
UriRendering() |
Modifier and Type | Method and Description |
---|---|
static Rendering |
encode(Rendering r,
java.lang.String string,
java.nio.charset.Charset charset,
org.parboiled2.CharPredicate keep,
boolean replaceSpaces) |
static boolean |
isAsciiCompatible(java.nio.charset.Charset cs) |
static <R extends Rendering> |
renderAuthority(R r,
Uri.Authority authority,
java.lang.String scheme,
java.nio.charset.Charset charset) |
static <R extends Rendering> |
renderAuthority(R r,
Uri.Authority authority,
Uri.Path path,
java.lang.String scheme,
java.nio.charset.Charset charset) |
static <R extends Rendering> |
renderPath(R r,
Uri.Path path,
java.nio.charset.Charset charset,
boolean encodeFirstSegmentColons) |
static <R extends Rendering> |
renderQuery(R r,
Uri.Query query,
java.nio.charset.Charset charset,
org.parboiled2.CharPredicate keep) |
static <R extends Rendering> |
renderUri(R r,
Uri value,
java.nio.charset.Charset charset)
Renders this Uri into the given Renderer as defined by http://tools.ietf.org/html/rfc3986.
|
static <R extends Rendering> |
renderUriWithoutFragment(R r,
Uri value,
java.nio.charset.Charset charset)
Renders this Uri (without the fragment component) into the given Renderer as defined by
http://tools.ietf.org/html/rfc3986.
|
public static <R extends Rendering> Rendering renderUri(R r, Uri value, java.nio.charset.Charset charset)
r
- (undocumented)value
- (undocumented)charset
- (undocumented)public static <R extends Rendering> Rendering renderUriWithoutFragment(R r, Uri value, java.nio.charset.Charset charset)
r
- (undocumented)value
- (undocumented)charset
- (undocumented)public static <R extends Rendering> Rendering renderAuthority(R r, Uri.Authority authority, java.lang.String scheme, java.nio.charset.Charset charset)
public static <R extends Rendering> Rendering renderAuthority(R r, Uri.Authority authority, Uri.Path path, java.lang.String scheme, java.nio.charset.Charset charset)
public static <R extends Rendering> Rendering renderPath(R r, Uri.Path path, java.nio.charset.Charset charset, boolean encodeFirstSegmentColons)
public static <R extends Rendering> Rendering renderQuery(R r, Uri.Query query, java.nio.charset.Charset charset, org.parboiled2.CharPredicate keep)
public static Rendering encode(Rendering r, java.lang.String string, java.nio.charset.Charset charset, org.parboiled2.CharPredicate keep, boolean replaceSpaces)
public static boolean isAsciiCompatible(java.nio.charset.Charset cs)