changed @since tags, nothing in these packages is older than 4.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@555245 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1e5ff31bbd
commit
2046a83cb3
|
@ -43,8 +43,9 @@ import org.apache.http.params.HttpParams;
|
|||
*
|
||||
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
|
||||
*
|
||||
*
|
||||
* @version $Revision$
|
||||
* @since 3.0
|
||||
* @since 4.0
|
||||
*/
|
||||
public final class AuthSchemeRegistry {
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ import org.apache.http.util.LangUtils;
|
|||
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
|
||||
* @author <a href="mailto:adrian@intencha.com">Adrian Sutton</a>
|
||||
*
|
||||
* @since 3.0
|
||||
* @since 4.0
|
||||
*/
|
||||
public class AuthScope {
|
||||
|
||||
|
@ -100,8 +100,6 @@ public class AuthScope {
|
|||
* @param scheme the authentication scheme the credentials apply to.
|
||||
* May be set to <tt>null</tt> if credenticals are applicable to
|
||||
* any authentication scheme.
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public AuthScope(final String host, int port,
|
||||
final String realm, final String scheme)
|
||||
|
@ -125,8 +123,6 @@ public class AuthScope {
|
|||
* @param realm the realm the credentials apply to. May be set
|
||||
* to <tt>null</tt> if credenticals are applicable to
|
||||
* any realm.
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public AuthScope(final String host, int port, final String realm) {
|
||||
this(host, port, realm, ANY_SCHEME);
|
||||
|
@ -142,8 +138,6 @@ public class AuthScope {
|
|||
* @param port the port the credentials apply to. May be set
|
||||
* to negative value if credenticals are applicable to
|
||||
* any port.
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public AuthScope(final String host, int port) {
|
||||
this(host, port, ANY_REALM, ANY_SCHEME);
|
||||
|
@ -151,8 +145,6 @@ public class AuthScope {
|
|||
|
||||
/**
|
||||
* Creates a copy of the given credentials scope.
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public AuthScope(final AuthScope authscope) {
|
||||
super();
|
||||
|
@ -167,8 +159,6 @@ public class AuthScope {
|
|||
|
||||
/**
|
||||
* @return the host
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public String getHost() {
|
||||
return this.host;
|
||||
|
@ -176,8 +166,6 @@ public class AuthScope {
|
|||
|
||||
/**
|
||||
* @return the port
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public int getPort() {
|
||||
return this.port;
|
||||
|
@ -185,8 +173,6 @@ public class AuthScope {
|
|||
|
||||
/**
|
||||
* @return the realm name
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public String getRealm() {
|
||||
return this.realm;
|
||||
|
@ -194,8 +180,6 @@ public class AuthScope {
|
|||
|
||||
/**
|
||||
* @return the scheme type
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public String getScheme() {
|
||||
return this.scheme;
|
||||
|
@ -207,8 +191,6 @@ public class AuthScope {
|
|||
* @return the match factor. Negative value signifies no match.
|
||||
* Non-negative signifies a match. The greater the returned value
|
||||
* the closer the match.
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public int match(final AuthScope that) {
|
||||
int factor = 0;
|
||||
|
|
|
@ -40,7 +40,8 @@ import org.apache.http.util.CharArrayBuffer;
|
|||
* authentication process.
|
||||
*
|
||||
* @author <a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a>
|
||||
* @since 3.0
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public class AuthState {
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ package org.apache.http.client;
|
|||
*
|
||||
* @author <a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a>
|
||||
*
|
||||
* @since 3.0
|
||||
* @since 4.0
|
||||
*/
|
||||
public class CircularRedirectException extends RedirectException {
|
||||
|
||||
|
|
|
@ -175,8 +175,6 @@ public class HttpState {
|
|||
* for the given scope.
|
||||
*
|
||||
* @see #getCredentials(AuthScope)
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public synchronized void setCredentials(final AuthScope authscope, final Credentials credentials) {
|
||||
if (authscope == null) {
|
||||
|
@ -224,8 +222,6 @@ public class HttpState {
|
|||
* @return the credentials
|
||||
*
|
||||
* @see #setCredentials(AuthScope, Credentials)
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public synchronized Credentials getCredentials(final AuthScope authscope) {
|
||||
if (authscope == null) {
|
||||
|
|
|
@ -37,7 +37,7 @@ import org.apache.http.ProtocolException;
|
|||
*
|
||||
* @author <a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a>
|
||||
*
|
||||
* @since 3.0
|
||||
* @since 4.0
|
||||
*/
|
||||
public class RedirectException extends ProtocolException {
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ import org.apache.http.params.HttpParams;
|
|||
*
|
||||
* @version $Revision$
|
||||
*
|
||||
* @since 3.0
|
||||
* @since 4.0
|
||||
*/
|
||||
public class HttpClientParams {
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ import org.apache.http.util.CharArrayBuffer;
|
|||
* @author Michael Becke
|
||||
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
|
||||
*
|
||||
* @since 2.0 final
|
||||
* @since 4.0
|
||||
*/
|
||||
public class URLUtils {
|
||||
|
||||
|
@ -68,8 +68,6 @@ public class URLUtils {
|
|||
* @param charset the character set of pairs to be encoded
|
||||
*
|
||||
* @return the urlencoded pairs
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public static String simpleFormUrlEncode(
|
||||
final NameValuePair[] pairs,
|
||||
|
@ -103,8 +101,6 @@ public class URLUtils {
|
|||
*
|
||||
* @return the urlencoded pairs
|
||||
* @throws UnsupportedEncodingException if charset is not supported
|
||||
*
|
||||
* @since 2.0 final
|
||||
*/
|
||||
public static String formUrlEncode(
|
||||
final NameValuePair[] pairs,
|
||||
|
|
|
@ -53,7 +53,8 @@ import java.security.cert.X509Certificate;
|
|||
*
|
||||
* @author Julius Davies
|
||||
* @author <a href="mailto:hauer@psicode.com">Sebastian Hauer</a>
|
||||
* @since 8-Dec-2006
|
||||
*
|
||||
* @since 4.0 (8-Dec-2006)
|
||||
*/
|
||||
public interface HostnameVerifier extends javax.net.ssl.HostnameVerifier {
|
||||
|
||||
|
|
|
@ -55,6 +55,8 @@ import org.apache.http.util.EncodingUtils;
|
|||
* @author <a href="mailto:adrian@ephox.com">Adrian Sutton</a>
|
||||
* @author <a href="mailto:mbowler@GargoyleSoftware.com">Mike Bowler</a>
|
||||
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
|
||||
public class BasicScheme extends RFC2617Scheme {
|
||||
|
@ -64,8 +66,6 @@ public class BasicScheme extends RFC2617Scheme {
|
|||
|
||||
/**
|
||||
* Default constructor for the basic authetication scheme.
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public BasicScheme() {
|
||||
super();
|
||||
|
@ -88,8 +88,6 @@ public class BasicScheme extends RFC2617Scheme {
|
|||
*
|
||||
* @throws MalformedChallengeException is thrown if the authentication challenge
|
||||
* is malformed
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public void processChallenge(
|
||||
final Header header) throws MalformedChallengeException {
|
||||
|
@ -102,8 +100,6 @@ public class BasicScheme extends RFC2617Scheme {
|
|||
*
|
||||
* @return <tt>true</tt> if Basic authorization has been processed,
|
||||
* <tt>false</tt> otherwise.
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public boolean isComplete() {
|
||||
return this.complete;
|
||||
|
@ -113,8 +109,6 @@ public class BasicScheme extends RFC2617Scheme {
|
|||
* Returns <tt>false</tt>. Basic authentication scheme is request based.
|
||||
*
|
||||
* @return <tt>false</tt>.
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public boolean isConnectionBased() {
|
||||
return false;
|
||||
|
@ -131,8 +125,6 @@ public class BasicScheme extends RFC2617Scheme {
|
|||
* be generated due to an authentication failure
|
||||
*
|
||||
* @return a basic authorization string
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public Header authenticate(
|
||||
final Credentials credentials,
|
||||
|
@ -157,8 +149,6 @@ public class BasicScheme extends RFC2617Scheme {
|
|||
* @param charset The charset to use for encoding the credentials
|
||||
*
|
||||
* @return a basic authorization header
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public static Header authenticate(
|
||||
final Credentials credentials,
|
||||
|
|
|
@ -73,6 +73,8 @@ import org.apache.http.util.EncodingUtils;
|
|||
* @author <a href="mailto:adrian@ephox.com">Adrian Sutton</a>
|
||||
* @author <a href="mailto:mbowler@GargoyleSoftware.com">Mike Bowler</a>
|
||||
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
|
||||
public class DigestScheme extends RFC2617Scheme {
|
||||
|
@ -102,8 +104,6 @@ public class DigestScheme extends RFC2617Scheme {
|
|||
|
||||
/**
|
||||
* Default constructor for the digest authetication scheme.
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public DigestScheme() {
|
||||
super();
|
||||
|
@ -117,8 +117,6 @@ public class DigestScheme extends RFC2617Scheme {
|
|||
*
|
||||
* @throws MalformedChallengeException is thrown if the authentication challenge
|
||||
* is malformed
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public void processChallenge(
|
||||
final Header header) throws MalformedChallengeException {
|
||||
|
@ -162,8 +160,6 @@ public class DigestScheme extends RFC2617Scheme {
|
|||
*
|
||||
* @return <tt>true</tt> if Digest authorization has been processed,
|
||||
* <tt>false</tt> otherwise.
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public boolean isComplete() {
|
||||
String s = getParameter("stale");
|
||||
|
@ -187,8 +183,6 @@ public class DigestScheme extends RFC2617Scheme {
|
|||
* Returns <tt>false</tt>. Digest authentication scheme is request based.
|
||||
*
|
||||
* @return <tt>false</tt>.
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public boolean isConnectionBased() {
|
||||
return false;
|
||||
|
@ -207,8 +201,6 @@ public class DigestScheme extends RFC2617Scheme {
|
|||
* be generated due to an authentication failure
|
||||
*
|
||||
* @return a digest authorization string
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public Header authenticate(
|
||||
final Credentials credentials,
|
||||
|
|
|
@ -66,8 +66,6 @@ public abstract class RFC2617Scheme implements AuthScheme {
|
|||
|
||||
/**
|
||||
* Default constructor for RFC2617 compliant authetication schemes.
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public RFC2617Scheme() {
|
||||
super();
|
||||
|
@ -82,8 +80,6 @@ public abstract class RFC2617Scheme implements AuthScheme {
|
|||
*
|
||||
* @throws MalformedChallengeException is thrown if the authentication challenge
|
||||
* is malformed
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public void processChallenge(final Header header) throws MalformedChallengeException {
|
||||
if (header == null) {
|
||||
|
|
|
@ -43,7 +43,7 @@ import org.apache.http.util.CharArrayBuffer;
|
|||
* @author <a href="mailto:mbowler@GargoyleSoftware.com">Mike Bowler</a>
|
||||
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
|
||||
*
|
||||
* @since 2.0
|
||||
* @since 4.0
|
||||
*/
|
||||
class LoggingHttpDataReceiverDecorator implements HttpDataReceiver {
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ import org.apache.http.util.CharArrayBuffer;
|
|||
*
|
||||
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
|
||||
*
|
||||
* @since 2.0beta1
|
||||
* @since 4.0
|
||||
*/
|
||||
class LoggingHttpDataTransmitterDecorator implements HttpDataTransmitter {
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ import org.apache.commons.logging.Log;
|
|||
*
|
||||
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
|
||||
*
|
||||
* @since 2.0beta1
|
||||
* @since 4.0
|
||||
*/
|
||||
public class Wire {
|
||||
|
||||
|
|
Loading…
Reference in New Issue