Skip to content

Commit

Permalink
Move CaseInsensitiveKeyMap to o.a.t.util.collections so it is availab…
Browse files Browse the repository at this point in the history
…le outside of the WebSocket implementation (I want to re-use it in HTTP/2's PushBuilder)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1708746 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
asf-sync-process committed Oct 15, 2015
1 parent d11ebf4 commit ce4b607
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 3 deletions.
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.tomcat.websocket;
package org.apache.tomcat.util.collections;

import java.util.AbstractMap;
import java.util.AbstractSet;
Expand Down
2 changes: 2 additions & 0 deletions java/org/apache/tomcat/websocket/WsHandshakeResponse.java
Expand Up @@ -23,6 +23,8 @@

import javax.websocket.HandshakeResponse;

import org.apache.tomcat.util.collections.CaseInsensitiveKeyMap;

/**
* Represents the response to a WebSocket handshake.
*/
Expand Down
1 change: 1 addition & 0 deletions java/org/apache/tomcat/websocket/WsWebSocketContainer.java
Expand Up @@ -65,6 +65,7 @@
import org.apache.juli.logging.Log;
import org.apache.juli.logging.LogFactory;
import org.apache.tomcat.util.codec.binary.Base64;
import org.apache.tomcat.util.collections.CaseInsensitiveKeyMap;
import org.apache.tomcat.util.res.StringManager;
import org.apache.tomcat.websocket.pojo.PojoEndpointClient;

Expand Down
Expand Up @@ -30,7 +30,7 @@
import javax.servlet.http.HttpServletRequest;
import javax.websocket.server.HandshakeRequest;

import org.apache.tomcat.websocket.CaseInsensitiveKeyMap;
import org.apache.tomcat.util.collections.CaseInsensitiveKeyMap;

/**
* Represents the request that this session was opened under.
Expand Down
2 changes: 1 addition & 1 deletion test/org/apache/catalina/startup/TomcatBaseTest.java
Expand Up @@ -65,7 +65,7 @@
import org.apache.catalina.webresources.StandardRoot;
import org.apache.coyote.http11.Http11NioProtocol;
import org.apache.tomcat.util.buf.ByteChunk;
import org.apache.tomcat.websocket.CaseInsensitiveKeyMap;
import org.apache.tomcat.util.collections.CaseInsensitiveKeyMap;

/**
* Base test case that provides a Tomcat instance for each test - mainly so we
Expand Down
Expand Up @@ -22,6 +22,7 @@
import java.util.Map.Entry;
import java.util.Set;

import org.apache.tomcat.util.collections.CaseInsensitiveKeyMap;
import org.junit.Assert;
import org.junit.Test;

Expand Down

0 comments on commit ce4b607

Please sign in to comment.