updated some @since tags, nothing in these packages is older than 4.0

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@505684 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Roland Weber 2007-02-10 12:40:02 +00:00
parent d41a365bf5
commit 6d72866b2d
21 changed files with 22 additions and 54 deletions

View File

@ -65,7 +65,7 @@ import org.apache.http.HttpMessage;
* @author <a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a>
* @author <a href="mailto:adrian@ephox.com">Adrian Sutton</a>
*
* @since 2.0beta1
* @since 4.0
*/
public interface AuthScheme {
@ -76,8 +76,6 @@ public interface AuthScheme {
* to maintain the state information when dealing with sequential challenges
*
* @param header the challenge header
*
* @since 3.0
*/
void processChallenge(final Header header) throws MalformedChallengeException;
@ -112,8 +110,6 @@ public interface AuthScheme {
*
* @return <tt>true</tt> if the scheme is connection based, <tt>false</tt>
* if the scheme is request based.
*
* @since 3.0
*/
boolean isConnectionBased();
@ -125,8 +121,6 @@ public interface AuthScheme {
*
* @return <tt>true</tt> if the authentication process has been completed,
* <tt>false</tt> otherwise.
*
* @since 3.0
*/
boolean isComplete();
@ -139,8 +133,6 @@ public interface AuthScheme {
* be generated due to an authentication failure
*
* @return the authorization string
*
* @since 3.0
*/
Header authenticate(Credentials credentials, HttpMessage message) throws AuthenticationException;

View File

@ -37,7 +37,7 @@ import org.apache.http.ProtocolException;
*
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
*
* @since 2.0
* @since 4.0
*/
public class AuthenticationException extends ProtocolException {
@ -65,8 +65,6 @@ public class AuthenticationException extends ProtocolException {
* @param message the exception detail message
* @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt>
* if the cause is unavailable, unknown, or not a <tt>Throwable</tt>
*
* @since 3.0
*/
public AuthenticationException(String message, Throwable cause) {
super(message, cause);

View File

@ -36,7 +36,7 @@ package org.apache.http.auth;
*
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
*
* @since 3.0
* @since 4.0
*/
public class InvalidCredentialsException extends AuthenticationException {

View File

@ -38,7 +38,7 @@ import org.apache.http.ProtocolException;
*
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
*
* @since 2.0
* @since 4.0
*/
public class MalformedChallengeException extends ProtocolException {
@ -66,8 +66,6 @@ public class MalformedChallengeException extends ProtocolException {
* @param message the exception detail message
* @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt>
* if the cause is unavailable, unknown, or not a <tt>Throwable</tt>
*
* @since 3.0
*/
public MalformedChallengeException(String message, Throwable cause) {
super(message, cause);

View File

@ -100,8 +100,6 @@ public interface ClientConnectionManager {
* Currently allocated connections are not subject to this method.
*
* @param idletime the idle time in milliseconds
*
* @since 3.0
*/
void closeIdleConnections(long idletime)
;

View File

@ -39,7 +39,7 @@ import java.io.InterruptedIOException;
*
* @author <a href="mailto:laura@lwerner.org">Laura Werner</a>
*
* @since 3.0
* @since 4.0
*/
public class ConnectTimeoutException extends InterruptedIOException {

View File

@ -32,12 +32,12 @@
package org.apache.http.conn;
/**
* A timeout while connecting waiting for an available connection
* from an HttpConnectionManager.
* A timeout while waiting for an available connection
* from a connection manager.
*
* @author <a href="mailto:laura@lwerner.org">Laura Werner</a>
*
* @since 3.0
* @since 4.0
*/
public class ConnectionPoolTimeoutException extends ConnectTimeoutException {

View File

@ -52,7 +52,7 @@ import org.apache.http.util.LangUtils;
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
* @author Laura Werner
*
* @since 2.0
* @since 4.0
*/
public class HostConfiguration implements Cloneable {

View File

@ -41,7 +41,7 @@ import java.net.UnknownHostException;
*
* @author Michael Becke
* @author <a href="mailto:mbowler@GargoyleSoftware.com">Mike Bowler</a>
* @since 2.0
* @since 4.0
*/
public interface SecureSocketFactory extends SocketFactory {

View File

@ -48,7 +48,7 @@ import org.apache.http.params.HttpParams;
*
* @version $Revision$
*
* @since 3.0
* @since 4.0
*/
public final class HttpConnectionManagerParams {

View File

@ -41,7 +41,7 @@ package org.apache.http.cookie;
*
* @author jain.samit@gmail.com (Samit Jain)
*
* @since 3.1
* @since 4.0
*/
public interface CookieAttributeHandler {

View File

@ -36,7 +36,7 @@ package org.apache.http.cookie;
*
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
*
* @since 3.1
* @since 4.0
*/
public final class CookieOrigin {

View File

@ -45,7 +45,7 @@ import org.apache.http.params.HttpParams;
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
* @author <a href="mailto:mbowler@GargoyleSoftware.com">Mike Bowler</a>
*
* @since 2.0
* @since 4.0
*/
public class CookiePolicy {
@ -64,8 +64,6 @@ public class CookiePolicy {
* @param factory the {@link CookieSpecFactory} class to register
*
* @see #getCookieSpec(String)
*
* @since 3.0
*/
public static void register(final String id, final CookieSpecFactory factory) {
if (id == null) {
@ -81,8 +79,6 @@ public class CookiePolicy {
* Unregisters the {@link CookieSpecFactory} with the given ID.
*
* @param id the ID of the {@link CookieSpec cookie specification} to unregister
*
* @since 3.0
*/
public static void unregister(final String id) {
if (id == null) {
@ -101,8 +97,6 @@ public class CookiePolicy {
* @return {@link CookieSpec cookie specification}
*
* @throws IllegalStateException if a policy with the ID cannot be found
*
* @since 4.0
*/
public static CookieSpec getCookieSpec(final String id, final HttpParams params)
throws IllegalStateException {
@ -131,8 +125,6 @@ public class CookiePolicy {
* @throws IllegalStateException if a policy with the ID cannot be found
*
* @see CookieSpecParams#getCookiePolicy(HttpParams)
*
* @since 4.0
*/
public static CookieSpec getCookieSpec(final HttpParams params)
throws IllegalStateException {
@ -150,8 +142,6 @@ public class CookiePolicy {
* @return {@link CookieSpec cookie specification}
*
* @throws IllegalStateException if a policy with the ID cannot be found
*
* @since 3.0
*/
public static CookieSpec getCookieSpec(final String id)
throws IllegalStateException {
@ -165,8 +155,6 @@ public class CookiePolicy {
* as one of the other policies, but does not have to be.
*
* @return array of registered cookie policy names
*
* @since 3.1
*/
public static String[] getRegisteredCookieSpecs(){
return (String[]) SPECS.keySet().toArray(new String [SPECS.size()]);

View File

@ -46,7 +46,7 @@ import org.apache.http.Header;
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
* @author <a href="mailto:jsdever@apache.org">Jeff Dever</a>
*
* @since 2.0
* @since 4.0
*/
public interface CookieSpec {

View File

@ -39,7 +39,7 @@ import org.apache.http.ProtocolException;
*
* @author <a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a>
*
* @since 2.0
* @since 4.0
*/
public class MalformedCookieException extends ProtocolException {
@ -67,8 +67,6 @@ public class MalformedCookieException extends ProtocolException {
* @param message the exception detail message
* @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt>
* if the cause is unavailable, unknown, or not a <tt>Throwable</tt>
*
* @since 3.0
*/
public MalformedCookieException(String message, Throwable cause) {
super(message, cause);

View File

@ -39,11 +39,11 @@ import java.io.InputStream;
* Closes an underlying stream as soon as the end of the stream is reached, and
* notifies a client when it has done so.
*
* @author Ortwin Gl<EFBFBD>ck
* @author Ortwin Glueck
* @author Eric Johnson
* @author <a href="mailto:mbowler@GargoyleSoftware.com">Mike Bowler</a>
*
* @since 2.0
* @since 4.0
*/
class AutoCloseInputStream extends FilterInputStream {

View File

@ -46,7 +46,7 @@ import org.apache.http.HttpConnection;
*
* @see org.apache.http.conn.ClientConnectionManager#closeIdleConnections(long)
*
* @since 3.0
* @since 4.0
*/
public class IdleConnectionHandler {

View File

@ -612,8 +612,6 @@ public class ThreadSafeClientConnManager
* Assigns {@link HttpParams parameters} for this
* connection manager.
*
* @since 3.0
*
* @see HttpConnectionManagerParams
*/
public void setParams(final HttpParams params) {

View File

@ -45,7 +45,7 @@ import org.apache.http.cookie.MalformedCookieException;
*
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
*
* @since 2.0
* @since 4.0
*/
public abstract class CookieSpecBase extends AbstractCookieSpec {

View File

@ -54,7 +54,7 @@ import org.apache.http.util.CharArrayBuffer;
* @author <a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a>
* @author <a href="mailto:mbowler@GargoyleSoftware.com">Mike Bowler</a>
*
* @since 2.0
* @since 4.0
*/
public class NetscapeDraftSpec extends CookieSpecBase {
@ -94,8 +94,6 @@ public class NetscapeDraftSpec extends CookieSpecBase {
* @param header the <tt>Set-Cookie</tt> received from the server
* @return an array of <tt>Cookie</tt>s parsed from the Set-Cookie value
* @throws MalformedCookieException if an exception occurs during parsing
*
* @since 3.0
*/
public Cookie[] parse(final Header header, final CookieOrigin origin)
throws MalformedCookieException {

View File

@ -57,7 +57,7 @@ import org.apache.http.util.DateUtils;
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
* @author <a href="mailto:mbowler@GargoyleSoftware.com">Mike Bowler</a>
*
* @since 2.0
* @since 4.0
*/
public class RFC2109Spec extends CookieSpecBase {