本文整理了Java中org.apache.commons.httpclient.HttpURL.checkValid()
方法的一些代码示例,展示了HttpURL.checkValid()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。HttpURL.checkValid()
方法的具体详情如下:
包路径:org.apache.commons.httpclient.HttpURL
类名称:HttpURL
方法名:checkValid
[英]Verify the valid class use for construction.
[中]验证用于构造的有效类。
代码示例来源:origin: commons-httpclient/commons-httpclient
/**
* Construct a HTTP URL with a given relative URL.
*
* @param base the base HttpURL
* @param relative the relative HttpURL
* @throws URIException If {@link #checkValid()} fails
*/
public HttpURL(HttpURL base, HttpURL relative) throws URIException {
super(base, relative);
checkValid();
}
代码示例来源: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
checkValid();
代码示例来源:origin: org.apache.commons/com.springsource.org.apache.commons.httpclient
/**
* Construct a HTTP URL with a given relative URL.
*
* @param base the base HttpURL
* @param relative the relative HttpURL
* @throws URIException If {@link #checkValid()} fails
*/
public HttpURL(HttpURL base, HttpURL relative) throws URIException {
super(base, relative);
checkValid();
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient
/**
* Construct a HTTP URL with a given relative URL.
*
* @param base the base HttpURL
* @param relative the relative HttpURL
* @throws URIException If {@link #checkValid()} fails
*/
public HttpURL(HttpURL base, HttpURL relative) throws URIException {
super(base, relative);
checkValid();
}
代码示例来源:origin: org.wso2.commons-httpclient/commons-httpclient
/**
* Construct a HTTP URL with a given relative URL.
*
* @param base the base HttpURL
* @param relative the relative HttpURL
* @throws URIException If {@link #checkValid()} fails
*/
public HttpURL(HttpURL base, HttpURL relative) throws URIException {
super(base, relative);
checkValid();
}
代码示例来源:origin: org.apache.commons/httpclient
/**
* Construct a HTTP URL with a given relative URL.
*
* @param base the base HttpURL
* @param relative the relative HttpURL
* @throws URIException If {@link #checkValid()} fails
*/
public HttpURL(HttpURL base, HttpURL relative) throws URIException {
super(base, relative);
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 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.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();
}
内容来源于网络,如有侵权,请联系作者删除!