org.apache.commons.httpclient.HttpURL.parseUriReference()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(8.8k)|赞(0)|评价(0)|浏览(140)

本文整理了Java中org.apache.commons.httpclient.HttpURL.parseUriReference()方法的一些代码示例,展示了HttpURL.parseUriReference()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。HttpURL.parseUriReference()方法的具体详情如下:
包路径:org.apache.commons.httpclient.HttpURL
类名称:HttpURL
方法名:parseUriReference

HttpURL.parseUriReference介绍

暂无

代码示例

代码示例来源:origin: commons-httpclient/commons-httpclient

/**
 * 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();
}

代码示例来源:origin: commons-httpclient/commons-httpclient

/**
 * 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();
}

代码示例来源:origin: commons-httpclient/commons-httpclient

/**
 * 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();
}

代码示例来源:origin: commons-httpclient/commons-httpclient

/**
 * 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();
}

代码示例来源:origin: commons-httpclient/commons-httpclient

buff.append(URIUtil.encode(fragment, URI.allowed_fragment));
parseUriReference(buff.toString(), true);
checkValid();

代码示例来源:origin: org.apache.commons/com.springsource.org.apache.commons.httpclient

/**
 * 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();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient

/**
 * 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();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient

/**
 * 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();
}

代码示例来源:origin: org.apache.commons/com.springsource.org.apache.commons.httpclient

/**
 * 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();
}

代码示例来源:origin: org.apache.commons/httpclient

/**
 * 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();
}

代码示例来源:origin: org.apache.commons/httpclient

/**
 * 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();
}

代码示例来源:origin: org.wso2.commons-httpclient/commons-httpclient

/**
 * 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();
}

代码示例来源:origin: org.wso2.commons-httpclient/commons-httpclient

/**
 * 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();
}

代码示例来源:origin: org.apache.commons/httpclient

/**
 * 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();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient

/**
 * 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();
}

代码示例来源:origin: org.wso2.commons-httpclient/commons-httpclient

/**
 * 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();
}

代码示例来源:origin: org.apache.commons/com.springsource.org.apache.commons.httpclient

/**
 * 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();
}

代码示例来源:origin: org.apache.commons/com.springsource.org.apache.commons.httpclient

/**
 * 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();
}

代码示例来源:origin: org.wso2.commons-httpclient/commons-httpclient

/**
 * 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();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient

/**
 * 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();
}

相关文章