/** * Construct a HTTP URL from a given string. * * @param original the HTTP URL string * @throws URIException If {@link #checkValid()} fails * @see #getDefaultProtocolCharset */ public HttpURL(String original) throws URIException { parseUriReference(original, false); checkValid(); }
/** * Construct a HTTP URL as an escaped form of a character array. * * @param escaped the HTTP URL character sequence * @throws URIException If {@link #checkValid()} fails * @throws NullPointerException if <code>escaped</code> is <code>null</code> * @see #getDefaultProtocolCharset */ public HttpURL(char[] escaped) throws URIException, NullPointerException { parseUriReference(new String(escaped), true); checkValid(); }
/** * Construct a HTTP URL from a given string with the given charset to do * escape encoding. * * @param original the HTTP URL string * @param charset the charset string to do escape encoding * @throws URIException If {@link #checkValid()} fails * @see #getProtocolCharset */ public HttpURL(String original, String charset) throws URIException { protocolCharset = charset; parseUriReference(original, false); checkValid(); }
/** * Construct a HTTP URL as an escaped form of a character array with the * given charset to do escape encoding. * * @param escaped the HTTP URL character sequence * @param charset the charset string to do escape encoding * @throws URIException If {@link #checkValid()} fails * @throws NullPointerException if <code>escaped</code> is <code>null</code> * @see #getProtocolCharset */ public HttpURL(char[] escaped, String charset) throws URIException, NullPointerException { protocolCharset = charset; parseUriReference(new String(escaped), true); checkValid(); }
buff.append(URIUtil.encode(fragment, URI.allowed_fragment)); parseUriReference(buff.toString(), true); checkValid();
/** * Construct a HTTP URL as an escaped form of a character array. * * @param escaped the HTTP URL character sequence * @throws URIException If {@link #checkValid()} fails * @throws NullPointerException if <code>escaped</code> is <code>null</code> * @see #getDefaultProtocolCharset */ public HttpURL(char[] escaped) throws URIException, NullPointerException { parseUriReference(new String(escaped), true); checkValid(); }
/** * Construct a HTTP URL from a given string. * * @param original the HTTP URL string * @throws URIException If {@link #checkValid()} fails * @see #getDefaultProtocolCharset */ public HttpURL(String original) throws URIException { parseUriReference(original, false); checkValid(); }
/** * Construct a HTTP URL as an escaped form of a character array. * * @param escaped the HTTP URL character sequence * @throws URIException If {@link #checkValid()} fails * @throws NullPointerException if <code>escaped</code> is <code>null</code> * @see #getDefaultProtocolCharset */ public HttpURL(char[] escaped) throws URIException, NullPointerException { parseUriReference(new String(escaped), true); checkValid(); }
/** * Construct a HTTP URL from a given string. * * @param original the HTTP URL string * @throws URIException If {@link #checkValid()} fails * @see #getDefaultProtocolCharset */ public HttpURL(String original) throws URIException { parseUriReference(original, false); checkValid(); }
/** * Construct a HTTP URL from a given string. * * @param original the HTTP URL string * @throws URIException If {@link #checkValid()} fails * @see #getDefaultProtocolCharset */ public HttpURL(String original) throws URIException { parseUriReference(original, false); checkValid(); }
/** * Construct a HTTP URL as an escaped form of a character array. * * @param escaped the HTTP URL character sequence * @throws URIException If {@link #checkValid()} fails * @throws NullPointerException if <code>escaped</code> is <code>null</code> * @see #getDefaultProtocolCharset */ public HttpURL(char[] escaped) throws URIException, NullPointerException { parseUriReference(new String(escaped), true); checkValid(); }
/** * Construct a HTTP URL as an escaped form of a character array. * * @param escaped the HTTP URL character sequence * @throws URIException If {@link #checkValid()} fails * @throws NullPointerException if <code>escaped</code> is <code>null</code> * @see #getDefaultProtocolCharset */ public HttpURL(char[] escaped) throws URIException, NullPointerException { parseUriReference(new String(escaped), true); checkValid(); }
/** * Construct a HTTP URL from a given string. * * @param original the HTTP URL string * @throws URIException If {@link #checkValid()} fails * @see #getDefaultProtocolCharset */ public HttpURL(String original) throws URIException { parseUriReference(original, false); checkValid(); }
/** * Construct a HTTP URL from a given string with the given charset to do * escape encoding. * * @param original the HTTP URL string * @param charset the charset string to do escape encoding * @throws URIException If {@link #checkValid()} fails * @see #getProtocolCharset */ public HttpURL(String original, String charset) throws URIException { protocolCharset = charset; parseUriReference(original, false); checkValid(); }
/** * Construct a HTTP URL from a given string with the given charset to do * escape encoding. * * @param original the HTTP URL string * @param charset the charset string to do escape encoding * @throws URIException If {@link #checkValid()} fails * @see #getProtocolCharset */ public HttpURL(String original, String charset) throws URIException { protocolCharset = charset; parseUriReference(original, false); checkValid(); }
/** * Construct a HTTP URL from a given string with the given charset to do * escape encoding. * * @param original the HTTP URL string * @param charset the charset string to do escape encoding * @throws URIException If {@link #checkValid()} fails * @see #getProtocolCharset */ public HttpURL(String original, String charset) throws URIException { protocolCharset = charset; parseUriReference(original, false); checkValid(); }
/** * Construct a HTTP URL from a given string with the given charset to do * escape encoding. * * @param original the HTTP URL string * @param charset the charset string to do escape encoding * @throws URIException If {@link #checkValid()} fails * @see #getProtocolCharset */ public HttpURL(String original, String charset) throws URIException { protocolCharset = charset; parseUriReference(original, false); checkValid(); }
/** * Construct a HTTP URL as an escaped form of a character array with the * given charset to do escape encoding. * * @param escaped the HTTP URL character sequence * @param charset the charset string to do escape encoding * @throws URIException If {@link #checkValid()} fails * @throws NullPointerException if <code>escaped</code> is <code>null</code> * @see #getProtocolCharset */ public HttpURL(char[] escaped, String charset) throws URIException, NullPointerException { protocolCharset = charset; parseUriReference(new String(escaped), true); checkValid(); }
/** * Construct a HTTP URL as an escaped form of a character array with the * given charset to do escape encoding. * * @param escaped the HTTP URL character sequence * @param charset the charset string to do escape encoding * @throws URIException If {@link #checkValid()} fails * @throws NullPointerException if <code>escaped</code> is <code>null</code> * @see #getProtocolCharset */ public HttpURL(char[] escaped, String charset) throws URIException, NullPointerException { protocolCharset = charset; parseUriReference(new String(escaped), true); checkValid(); }
/** * Construct a HTTP URL as an escaped form of a character array with the * given charset to do escape encoding. * * @param escaped the HTTP URL character sequence * @param charset the charset string to do escape encoding * @throws URIException If {@link #checkValid()} fails * @throws NullPointerException if <code>escaped</code> is <code>null</code> * @see #getProtocolCharset */ public HttpURL(char[] escaped, String charset) throws URIException, NullPointerException { protocolCharset = charset; parseUriReference(new String(escaped), true); checkValid(); }