Add lightweight push #17

Closed
BalusC opened this Issue Apr 17, 2014 · 2 comments

Projects

None yet

1 participant

@BalusC
Member
BalusC commented Apr 17, 2014

https://code.google.com/p/omnifaces/issues/detail?id=265

Add lightweight push API with only SSE support and perhaps a future fallback to long polling. Requires Servlet 3.0 though. So not earlier than OmniFaces 2.0.

@BalusC BalusC closed this in b4552e1 Dec 6, 2015
@BalusC BalusC added a commit that referenced this issue Dec 6, 2015
@BalusC BalusC #17 add WS dependency to pom bccd244
@BalusC
Member
BalusC commented Dec 6, 2015

Decided to just go for WebSockets to keep it simple. It has broader browser support than SSE anyway. It's even already built into Tomcat 8.

@BalusC BalusC added a commit that referenced this issue Dec 11, 2015
@BalusC BalusC #17: make socket persistent 6975cf4
@BalusC BalusC added a commit that referenced this issue Dec 11, 2015
@BalusC BalusC #17 Add reason code to invalid channel close. Refactored push socket
with less agressive reconnecting.
dd6437d
@BalusC BalusC added a commit that referenced this issue Dec 12, 2015
@BalusC BalusC #17 refactor close e7cd9fd
@BalusC BalusC added a commit that referenced this issue Dec 12, 2015
@BalusC BalusC #17: fixed wrong scope 7334025
@BalusC BalusC added a commit that referenced this issue Dec 14, 2015
@BalusC BalusC #17 Minor improvement in push script 884a4f0
@BalusC BalusC added a commit that referenced this issue Dec 16, 2015
@BalusC BalusC #17 Kill SocketConfigurator. After all not the right approach to
validate channel during the handshake, this has to be done during the
HTTP upgrade request, so introduced a SocketChannelFilter for that.
c040b69
@BalusC BalusC added a commit that referenced this issue Dec 16, 2015
@BalusC BalusC #17: swapped conditions. 42c4f83
@BalusC BalusC added a commit that referenced this issue Dec 21, 2015
@BalusC BalusC #17: Check WS header too ab41592
@BalusC BalusC added a commit that referenced this issue Dec 21, 2015
@BalusC BalusC #17: rework configuration; GF/PY wasn't happy with lazy init.
Improved javadoc with security concerns.
2294627
@BalusC BalusC added a commit that referenced this issue Dec 31, 2015
@BalusC BalusC #17 fix regression 366335f
@BalusC BalusC added a commit that referenced this issue Jan 18, 2016
@BalusC BalusC #17 Drop SocketChannelFilter (doesn't play well with expired HTTP
sessions) and improved/added security recommendations.
3399e45
@BalusC BalusC added a commit that referenced this issue Jan 23, 2016
@BalusC BalusC #17: clarified javadoc e59b240
@BalusC BalusC added a commit that referenced this issue Jan 24, 2016
@BalusC BalusC #17 Forgot Serializable 1fb54ed
@BalusC BalusC added a commit that referenced this issue Jan 25, 2016
@BalusC BalusC #17: clarified javadoc 18d9bf1
@BalusC BalusC added a commit that referenced this issue Jan 26, 2016
@BalusC BalusC #17: reviewed documentation dfad6ca
@BalusC BalusC added a commit that referenced this issue Feb 1, 2016
@BalusC BalusC #17: finishing touches on socket: added guarding SocketChannelFilter;
Let application scoped channel also use scopeId (for better guarding);
Some refactoring; reviewed javadocs; updated copyright year to 2016
9cf2770
@BalusC BalusC added a commit that referenced this issue Feb 10, 2016
@BalusC BalusC #17: Explicitly disable idle timeout (avoid container specific settings)
and fix exception when changing properties of an already closed session.
140a9fd
@BalusC BalusC added a commit that referenced this issue Feb 15, 2016
@BalusC BalusC #17: add view scoped push 0b2f388
@BalusC BalusC added a commit that referenced this issue Feb 21, 2016
@BalusC BalusC #17: add <o:socket user="..."> and PushContext#send(msg, user)
So user-targeted push messages can be sent; fulfills "chat" use cases.
3d650fa
@BalusC BalusC added a commit that referenced this issue Feb 21, 2016
@BalusC BalusC #17: return send results ce67fc1
@BalusC BalusC added a commit that referenced this issue Feb 23, 2016
@BalusC BalusC #17: fixed javadoc error 321bc7b
@BalusC BalusC added a commit that referenced this issue Feb 23, 2016
@BalusC BalusC #17: stupid bugs ea812c5
@BalusC BalusC added a commit that referenced this issue Feb 28, 2016
@BalusC BalusC #17: Guarantee close of view scoped socket channels on session expire;
Improved handling of open/close/events
d5cfd41
@BalusC BalusC added a commit that referenced this issue Feb 29, 2016
@BalusC BalusC #17: fix potential NPE 55876af
@BalusC BalusC added a commit that referenced this issue Mar 4, 2016
@BalusC BalusC #17: revised javadoc 2e475bc
@BalusC BalusC added a commit that referenced this issue Mar 5, 2016
@BalusC BalusC #17: improved wording in javadoc 229e4ef
@BalusC BalusC added a commit that referenced this issue Mar 6, 2016
@BalusC BalusC #17: fix copyright year 2e47b62
@BalusC BalusC added a commit that referenced this issue Mar 11, 2016
@BalusC BalusC #17: remove @see Opened/Closed as they're merged into SocketEvent
(those only cause 404s in showcase)
b64a2ff
@BalusC BalusC added a commit that referenced this issue Mar 12, 2016
@BalusC BalusC #17: Make package private static helpers protected methods anyway.
(actually not harmful, but this is just ugly API; it's now at least more
efficient than resolving via bean manager every time)
239db21
@BalusC BalusC added a commit that referenced this issue Mar 13, 2016
@BalusC BalusC #17: javadoc improvement 847ff20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment