Package akka.http.scaladsl.model
Class UriRendering
java.lang.Object
akka.http.scaladsl.model.UriRendering
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Rendering
encode
(Rendering r, String string, Charset charset, akka.parboiled2.CharPredicate keep, boolean replaceSpaces) static boolean
renderAuthority
(R r, Uri.Authority authority, Uri.Path path, String scheme, Charset charset) renderAuthority
(R r, Uri.Authority authority, String scheme, Charset charset) renderPath
(R r, Uri.Path path, Charset charset, boolean encodeFirstSegmentColons) renderQuery
(R r, Uri.Query query, Charset charset, akka.parboiled2.CharPredicate keep) Renders this Uri into the given Renderer as defined by http://tools.ietf.org/html/rfc3986.renderUriWithoutFragment
(R r, Uri value, Charset charset) Renders this Uri (without the fragment component) into the given Renderer as defined by http://tools.ietf.org/html/rfc3986.
-
Constructor Details
-
UriRendering
public UriRendering()
-
-
Method Details
-
renderUri
Renders this Uri into the given Renderer as defined by http://tools.ietf.org/html/rfc3986. All Uri components are encoded and joined as required by the spec. The given charset is used to produce percent-encoded representations of potentially existing non-ASCII characters in the different components.- Parameters:
r
- (undocumented)value
- (undocumented)charset
- (undocumented)- Returns:
- (undocumented)
-
renderUriWithoutFragment
public static <R extends Rendering> Rendering renderUriWithoutFragment(R r, Uri value, Charset charset) Renders this Uri (without the fragment component) into the given Renderer as defined by http://tools.ietf.org/html/rfc3986. All Uri components are encoded and joined as required by the spec. The given charset is used to produce percent-encoded representations of potentially existing non-ASCII characters in the different components.- Parameters:
r
- (undocumented)value
- (undocumented)charset
- (undocumented)- Returns:
- (undocumented)
-
renderAuthority
public static <R extends Rendering> Rendering renderAuthority(R r, Uri.Authority authority, String scheme, Charset charset) -
renderAuthority
-
renderPath
-
renderQuery
-
encode
-
isAsciiCompatible
-