Remove deprecations from previous versions
* Remove Boon dependency and its usage * Remove overloaded methods from the `IntegrationFlowDefinition` - we can simply rely now on the super class * Remove (or rework) deprecated entities in the docs * Fix tests for removed deprecated APIs * Rework affected tests to JUnit 5
This commit is contained in:
committed by
Gary Russell
parent
cfaabe2a8d
commit
370e943428
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2019 the original author or authors.
|
||||
* Copyright 2002-2020 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -78,300 +78,6 @@ public class DefaultHttpHeaderMapper implements HeaderMapper<HttpHeaders>, BeanF
|
||||
|
||||
protected final Log logger = LogFactory.getLog(getClass()); // NOSONAR - final
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#ACCEPT}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String ACCEPT = HttpHeaders.ACCEPT;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#ACCEPT_CHARSET}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String ACCEPT_CHARSET = HttpHeaders.ACCEPT_CHARSET;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#ACCEPT_ENCODING}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String ACCEPT_ENCODING = HttpHeaders.ACCEPT_ENCODING;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#ACCEPT_LANGUAGE}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String ACCEPT_LANGUAGE = HttpHeaders.ACCEPT_LANGUAGE;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#ACCEPT_RANGES}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String ACCEPT_RANGES = HttpHeaders.ACCEPT_RANGES;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#AGE}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String AGE = HttpHeaders.AGE;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#ALLOW}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String ALLOW = HttpHeaders.ALLOW;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#AUTHORIZATION}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String AUTHORIZATION = HttpHeaders.AUTHORIZATION;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#CACHE_CONTROL}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String CACHE_CONTROL = HttpHeaders.CACHE_CONTROL;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#CONNECTION}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String CONNECTION = HttpHeaders.CONNECTION;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#CONTENT_ENCODING}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String CONTENT_ENCODING = HttpHeaders.CONTENT_ENCODING;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#CONTENT_LANGUAGE}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String CONTENT_LANGUAGE = HttpHeaders.CONTENT_LANGUAGE;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#CONTENT_LENGTH}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String CONTENT_LENGTH = HttpHeaders.CONTENT_LENGTH;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#CONTENT_LOCATION}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String CONTENT_LOCATION = HttpHeaders.CONTENT_LOCATION;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#CONTENT_RANGE}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String CONTENT_RANGE = HttpHeaders.CONTENT_RANGE;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#CONTENT_TYPE}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String CONTENT_TYPE = HttpHeaders.CONTENT_TYPE;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#CONTENT_DISPOSITION}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String CONTENT_DISPOSITION = HttpHeaders.CONTENT_DISPOSITION;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#COOKIE}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String COOKIE = HttpHeaders.COOKIE;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#DATE}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String DATE = HttpHeaders.DATE;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#ETAG}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String ETAG = HttpHeaders.ETAG;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#EXPECT}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String EXPECT = HttpHeaders.EXPECT;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#EXPIRES}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String EXPIRES = HttpHeaders.EXPIRES;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#FROM}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String FROM = HttpHeaders.FROM;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#HOST}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String HOST = HttpHeaders.HOST;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#IF_MATCH}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String IF_MATCH = HttpHeaders.IF_MATCH;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#IF_MODIFIED_SINCE}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String IF_MODIFIED_SINCE = HttpHeaders.IF_MODIFIED_SINCE;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#IF_NONE_MATCH}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String IF_NONE_MATCH = HttpHeaders.IF_NONE_MATCH;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#IF_RANGE}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String IF_RANGE = HttpHeaders.IF_RANGE;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#IF_UNMODIFIED_SINCE}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String IF_UNMODIFIED_SINCE = HttpHeaders.IF_UNMODIFIED_SINCE;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#LAST_MODIFIED}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String LAST_MODIFIED = HttpHeaders.LAST_MODIFIED;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#LOCATION}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String LOCATION = HttpHeaders.LOCATION;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#MAX_FORWARDS}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String MAX_FORWARDS = HttpHeaders.MAX_FORWARDS;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#PRAGMA}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String PRAGMA = HttpHeaders.PRAGMA;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#PROXY_AUTHENTICATE}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String PROXY_AUTHENTICATE = HttpHeaders.PROXY_AUTHENTICATE;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#PROXY_AUTHORIZATION}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String PROXY_AUTHORIZATION = HttpHeaders.PROXY_AUTHORIZATION;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#RANGE}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String RANGE = HttpHeaders.RANGE;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#REFERER}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String REFERER = HttpHeaders.REFERER;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#RETRY_AFTER}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String RETRY_AFTER = HttpHeaders.RETRY_AFTER;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#SERVER}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String SERVER = HttpHeaders.SERVER;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#SET_COOKIE}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String SET_COOKIE = HttpHeaders.SET_COOKIE;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#TE}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String TE = HttpHeaders.TE;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#TRAILER}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String TRAILER = HttpHeaders.TRAILER;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#UPGRADE}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String UPGRADE = HttpHeaders.UPGRADE;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#USER_AGENT}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String USER_AGENT = HttpHeaders.USER_AGENT;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#VARY}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String VARY = HttpHeaders.VARY;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#VIA}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String VIA = HttpHeaders.VIA;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#WARNING}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String WARNING = HttpHeaders.WARNING;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#WWW_AUTHENTICATE}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String WWW_AUTHENTICATE = HttpHeaders.WWW_AUTHENTICATE;
|
||||
|
||||
/**
|
||||
* @deprecated since 5.2 in favor of {@link HttpHeaders#TRANSFER_ENCODING}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String TRANSFER_ENCODING = HttpHeaders.TRANSFER_ENCODING;
|
||||
|
||||
public static final String CONTENT_MD5 = "Content-MD5";
|
||||
|
||||
public static final String REFRESH = "Refresh";
|
||||
|
||||
Reference in New Issue
Block a user