Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: Allow closing websockets from AtmosphereInterceptor #1162

Closed
tedoc2000 opened this issue Jun 26, 2013 · 1 comment
Closed

RFE: Allow closing websockets from AtmosphereInterceptor #1162

tedoc2000 opened this issue Jun 26, 2013 · 1 comment

Comments

@tedoc2000
Copy link

I want to be able to close a websocket after a AtmosphereInterceptor calls AtomsphereResource.close();

Currently the websocket is closed, but the client still gets a 101 upgrade

@jfarcand
Copy link
Member

OK Fixed. You need to create your own WebSocketProcessor's handshake method. Just annotate your implementation with @WebSocketProcessorService and Atmosphere will install it. Please make sure you read the javadoc as some container may not behave properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants