Class LinkCodec

  • All Implemented Interfaces:
    org.apache.commons.codec.BinaryDecoder, org.apache.commons.codec.BinaryEncoder, org.apache.commons.codec.Decoder, org.apache.commons.codec.Encoder, org.apache.commons.codec.StringDecoder, org.apache.commons.codec.StringEncoder

    @Deprecated
    public class LinkCodec
    extends org.apache.commons.codec.net.URLCodec
    Deprecated.
    use UrlCodec codecs / LinkUtil methods
    Replaced by UrlCodec with its various codecs for URL parts.
    • Field Detail

      • SLING_PATH_SET

        protected static final BitSet SLING_PATH_SET
        Deprecated.
      • SLING_URL_SET

        protected static final BitSet SLING_URL_SET
        Deprecated.
    • Constructor Detail

      • LinkCodec

        public LinkCodec()
        Deprecated.
    • Method Detail

      • encode

        public byte[] encode​(byte[] bytes)
        Deprecated.
        Specified by:
        encode in interface org.apache.commons.codec.BinaryEncoder
        Overrides:
        encode in class org.apache.commons.codec.net.URLCodec
      • encode

        public String encode​(String value)
        Deprecated.
        Specified by:
        encode in interface org.apache.commons.codec.StringEncoder
        Overrides:
        encode in class org.apache.commons.codec.net.URLCodec
      • decode

        public String decode​(String value)
        Deprecated.
        Specified by:
        decode in interface org.apache.commons.codec.StringDecoder
        Overrides:
        decode in class org.apache.commons.codec.net.URLCodec
      • encodeUrl

        public String encodeUrl​(String url)
        Deprecated.