org.springframework.messaging.simp.stomp.StompFrameHandler Java Examples
The following examples show how to use
org.springframework.messaging.simp.stomp.StompFrameHandler.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PreservesHeadersStompSessionAdapter.java From spring-cloud-ribbon-extensions with Apache License 2.0 | 4 votes |
/** * {@inheritDoc} */ @Override public Subscription subscribe(String destination, StompFrameHandler handler) { return delegate.subscribe(destination, new PreservesHeadersStompFrameHandlerAdapter(handler, getFilter())); }
Example #2
Source File: PreservesHeadersStompSessionAdapter.java From spring-cloud-ribbon-extensions with Apache License 2.0 | 4 votes |
/** * {@inheritDoc} */ @Override public Subscription subscribe(StompHeaders headers, StompFrameHandler handler) { return delegate.subscribe(headers, new PreservesHeadersStompFrameHandlerAdapter(handler, getFilter())); }
Example #3
Source File: PreservesHeadersStompFrameHandlerAdapter.java From spring-cloud-ribbon-extensions with Apache License 2.0 | 2 votes |
/** * Sole constructor. * * @param delegate the delegate {@link StompFrameHandler} * @param filter the stomp header names filter. */ public PreservesHeadersStompFrameHandlerAdapter(@NotNull StompFrameHandler delegate, @NotNull Filter<String> filter) { this.delegate = delegate; this.filter = filter; }