Home | History | Annotate | Download | only in net

Lines Matching refs:decoded

183      * @return the decoded scheme-specific-part
195 * @return the decoded scheme-specific-part
200 * Gets the decoded authority part of this URI. For
222 * Gets the decoded user information from the authority.
257 * Gets the decoded path.
259 * @return the decoded path, or null if this is not a hierarchical URI
273 * Gets the decoded query component from this URI. The query comes after
278 * @return the decoded query or null if there isn't one
293 * Gets the decoded fragment part of this URI, everything after the '#'.
295 * @return the decoded fragment or null if there isn't one
307 * Gets the decoded path segments.
309 * @return decoded path segments, each without a leading or trailing '/'
314 * Gets the decoded last segment in the path.
316 * @return the decoded last segment or null if the path is empty
1347 * @param opaquePart decoded opaque part
1556 * @return a set of decoded names
1596 * @return a list of decoded values
1653 * <p><strong>Warning:</strong> Prior to Ice Cream Sandwich, this decoded
1659 * @return the decoded value or null if no parameter is found
1711 * @param key which will be decoded
1924 * @return the given string with escaped octets decoded, or null if
1945 static final int DECODED = 2;
1949 volatile String decoded;
1951 AbstractPart(String encoded, String decoded) {
1953 this.decoded = decoded;
1960 boolean hasDecoded = decoded != NOT_CACHED;
1961 return hasDecoded ? decoded : (decoded = decode(encoded));
1969 boolean hasDecoded = decoded != NOT_CACHED;
1974 parcel.writeString(decoded);
1979 parcel.writeInt(Representation.DECODED);
1980 parcel.writeString(decoded);
1982 throw new IllegalArgumentException("Neither encoded nor decoded");
1988 * Immutable wrapper of encoded and decoded versions of a URI part. Lazily
1989 * creates the encoded or decoded version from the other.
1999 private Part(String encoded, String decoded) {
2000 super(encoded, decoded);
2010 return hasEncoded ? encoded : (encoded = encode(decoded));
2020 case Representation.DECODED:
2045 * Creates a part from the decoded string.
2047 * @param decoded part string
2049 static Part fromDecoded(String decoded) {
2050 return from(NOT_CACHED, decoded);
2054 * Creates a part from the encoded and decoded strings.
2057 * @param decoded part string
2059 static Part from(String encoded, String decoded) {
2060 // We have to check both encoded and decoded in case one is
2070 if (decoded == null) {
2073 if (decoded
2077 return new Part(encoded, decoded);
2093 * Immutable wrapper of encoded and decoded versions of a path part. Lazily
2094 * creates the encoded or decoded version from the other.
2104 private PathPart(String encoded, String decoded) {
2105 super(encoded, decoded);
2113 return hasEncoded ? encoded : (encoded = encode(decoded, "/"));
2191 static PathPart appendDecodedSegment(PathPart oldPart, String decoded) {
2192 String encoded = encode(decoded);
2205 case Representation.DECODED:
2222 * Creates a path from the decoded string.
2224 * @param decoded part string
2226 static PathPart fromDecoded(String decoded) {
2227 return from(NOT_CACHED, decoded);
2231 * Creates a path from the encoded and decoded strings.
2234 * @param decoded part string
2236 static PathPart from(String encoded, String decoded) {
2245 return new PathPart(encoded, decoded);
2258 String oldPath = encodedCached ? oldPart.encoded : oldPart.decoded;
2269 // Prepend decoded string if present.
2271 boolean decodedCached = oldPart.decoded != NOT_CACHED;
2273 ? "/" + oldPart.decoded