From 82c6aa1ee7c106499491aaa786e59e1c435e77c1 Mon Sep 17 00:00:00 2001 From: Connell Date: Tue, 3 Dec 2019 17:30:16 -0800 Subject: [PATCH] Remove unused method name constants --- .../disco/agent/web/servlet/MethodNames.java | 36 ------------------- 1 file changed, 36 deletions(-) delete mode 100644 disco-java-agent-web/src/main/java/software/amazon/disco/agent/web/servlet/MethodNames.java diff --git a/disco-java-agent-web/src/main/java/software/amazon/disco/agent/web/servlet/MethodNames.java b/disco-java-agent-web/src/main/java/software/amazon/disco/agent/web/servlet/MethodNames.java deleted file mode 100644 index 4c71c55..0000000 --- a/disco-java-agent-web/src/main/java/software/amazon/disco/agent/web/servlet/MethodNames.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -package software.amazon.disco.agent.web.servlet; - -/** - * Constants of the method names which will be reflectively called on the servlet request and response objects - */ -public class MethodNames { - // Common Get Methods from request/response - static final String GET_HEADER = "getHeader"; - static final String GET_HEADER_NAMES = "getHeaderNames"; - - // Request-specific methods - static final String GET_METHOD = "getMethod"; - static final String GET_REQUEST_URL = "getRequestURL"; - static final String GET_LOCAL_PORT = "getLocalPort"; - static final String GET_LOCAL_ADDR = "getLocalAddr"; - static final String GET_REMOTE_PORT = "getRemotePort"; - static final String GET_REMOTE_ADDR = "getRemoteAddr"; - - // Response-specific methods - static final String GET_STATUS = "getStatus"; -}