Add SockJS path detection

This commit is contained in:
Rossen Stoyanchev
2013-05-05 20:51:37 -04:00
parent 97d225ba75
commit 7845ebc428
25 changed files with 654 additions and 133 deletions

View File

@@ -16,6 +16,7 @@
package org.springframework.http.server;
/**
* TODO..
*/

View File

@@ -100,11 +100,6 @@ public class AsyncServletServerHttpRequest extends ServletServerHttpRequest
}
}
public void dispatch() {
Assert.notNull(this.asyncContext, "Cannot dispatch without an AsyncContext");
this.asyncContext.dispatch();
}
public void completeAsync() {
Assert.notNull(this.asyncContext, "Cannot dispatch without an AsyncContext");
if (isAsyncStarted() && !isAsyncCompleted()) {
@@ -112,6 +107,7 @@ public class AsyncServletServerHttpRequest extends ServletServerHttpRequest
}
}
// ---------------------------------------------------------------------
// Implementation of AsyncListener methods
// ---------------------------------------------------------------------