Package akka.http.scaladsl.model
Class UriRendering$
- java.lang.Object
-
- akka.http.scaladsl.model.UriRendering$
-
public class UriRendering$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static UriRendering$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description UriRendering$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rendering
encode(Rendering r, java.lang.String string, java.nio.charset.Charset charset, akka.parboiled2.CharPredicate keep, boolean replaceSpaces)
boolean
isAsciiCompatible(java.nio.charset.Charset cs)
<R extends Rendering>
RenderingrenderAuthority(R r, Uri.Authority authority, Uri.Path path, java.lang.String scheme, java.nio.charset.Charset charset)
<R extends Rendering>
RenderingrenderAuthority(R r, Uri.Authority authority, java.lang.String scheme, java.nio.charset.Charset charset)
<R extends Rendering>
RenderingrenderPath(R r, Uri.Path path, java.nio.charset.Charset charset, boolean encodeFirstSegmentColons)
<R extends Rendering>
RenderingrenderQuery(R r, Uri.Query query, java.nio.charset.Charset charset, akka.parboiled2.CharPredicate keep)
<R extends Rendering>
RenderingrenderUri(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.<R extends Rendering>
RenderingrenderUriWithoutFragment(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.
-
-
-
Field Detail
-
MODULE$
public static final UriRendering$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
renderUri
public <R extends Rendering> 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. 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 <R extends Rendering> 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. 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 <R extends Rendering> Rendering renderAuthority(R r, Uri.Authority authority, java.lang.String scheme, java.nio.charset.Charset charset)
-
renderAuthority
public <R extends Rendering> Rendering renderAuthority(R r, Uri.Authority authority, Uri.Path path, java.lang.String scheme, java.nio.charset.Charset charset)
-
renderPath
public <R extends Rendering> Rendering renderPath(R r, Uri.Path path, java.nio.charset.Charset charset, boolean encodeFirstSegmentColons)
-
renderQuery
public <R extends Rendering> Rendering renderQuery(R r, Uri.Query query, java.nio.charset.Charset charset, akka.parboiled2.CharPredicate keep)
-
encode
public Rendering encode(Rendering r, java.lang.String string, java.nio.charset.Charset charset, akka.parboiled2.CharPredicate keep, boolean replaceSpaces)
-
isAsciiCompatible
public boolean isAsciiCompatible(java.nio.charset.Charset cs)
-
-