File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 */
1717package org .apache .catalina .filters ;
1818
19- import org .apache .tomcat .util .http .Method ;
20-
2119/**
2220 * Manifest constants for this Java package.
2321 */
@@ -43,9 +41,6 @@ public final class Constants {
4341 */
4442 public static final String CSRF_NONCE_REQUEST_PARAM_NAME_KEY = "org.apache.catalina.filters.CSRF_NONCE_PARAM_NAME" ;
4543
46- @ Deprecated
47- public static final String METHOD_GET = Method .GET ;
48-
4944 public static final String CSRF_REST_NONCE_HEADER_NAME = "X-CSRF-Token" ;
5045
5146 public static final String CSRF_REST_NONCE_HEADER_FETCH_VALUE = "Fetch" ;
Original file line number Diff line number Diff line change @@ -51,19 +51,6 @@ public class ResolverImpl extends Resolver {
5151 private final Log containerLog ;
5252
5353
54- /**
55- * Create a resolver for the given request.
56- *
57- * @param request The request
58- *
59- * @deprecated Will be removed in Tomcat 12 onwards. Use {@link #ResolverImpl(Request, Log)}
60- */
61- @ Deprecated
62- public ResolverImpl (Request request ) {
63- this (request , request .getContext ().getLogger ());
64- }
65-
66-
6754 public ResolverImpl (Request request , Log containerLog ) {
6855 this .request = request ;
6956 this .containerLog = containerLog ;
You can’t perform that action at this time.
0 commit comments