File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spring-websocket/src/test/java/org/springframework/web/socket Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2015 the original author or authors.
2
+ * Copyright 2002-2016 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -95,9 +95,9 @@ public int getPort() {
95
95
public void deployConfig (WebApplicationContext wac , Filter ... filters ) {
96
96
Assert .state (this .port != -1 , "setup() was never called." );
97
97
this .context = this .tomcatServer .addContext ("" , System .getProperty ("java.io.tmpdir" ));
98
- this .context .addApplicationListener (WsContextListener .class .getName ());
98
+ this .context .addApplicationListener (WsContextListener .class .getName ());
99
99
Tomcat .addServlet (this .context , "dispatcherServlet" , new DispatcherServlet (wac )).setAsyncSupported (true );
100
- this .context .addServletMapping ("/" , "dispatcherServlet" );
100
+ this .context .addServletMappingDecoded ("/" , "dispatcherServlet" );
101
101
for (Filter filter : filters ) {
102
102
FilterDef filterDef = new FilterDef ();
103
103
filterDef .setFilterName (filter .getClass ().getName ());
You can’t perform that action at this time.
0 commit comments