Class UriRendering$


  • public class UriRendering$
    extends java.lang.Object
    • Field Detail

      • MODULE$

        public static final UriRendering$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • UriRendering$

        public UriRendering$()
    • Method Detail

      • renderUri

        public <R extends RenderingRendering 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 RenderingRendering 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 RenderingRendering renderAuthority​(R r,
                                                               Uri.Authority authority,
                                                               java.lang.String scheme,
                                                               java.nio.charset.Charset charset)
      • renderPath

        public <R extends RenderingRendering renderPath​(R r,
                                                          Uri.Path path,
                                                          java.nio.charset.Charset charset,
                                                          boolean encodeFirstSegmentColons)
      • renderQuery

        public <R extends RenderingRendering 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)