Class TestAggregatorJaxRs
- java.lang.Object
-
- org.glassfish.jersey.examples.aggregator.AbstractTestAggregator
-
- org.glassfish.jersey.examples.aggregator.TestAggregatorJaxRs
-
- All Implemented Interfaces:
DataAggregator
public class TestAggregatorJaxRs extends AbstractTestAggregator
Fake message aggregator used for testing purposes pointing to SSE event stream implemented using Jersey-specific API.- Author:
- Marek Potociar, Adam Lindenthal
-
-
Constructor Summary
Constructors Constructor Description TestAggregatorJaxRs(String rgbColor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPath()Get relative path to the event stream.protected StringgetPrefix()Get message prefix to identify the concrete aggregator.-
Methods inherited from class org.glassfish.jersey.examples.aggregator.AbstractTestAggregator
start, stop
-
-
-
-
Constructor Detail
-
TestAggregatorJaxRs
public TestAggregatorJaxRs(String rgbColor)
-
-
Method Detail
-
getPath
public String getPath()
Description copied from class:AbstractTestAggregatorGet relative path to the event stream.- Specified by:
getPathin classAbstractTestAggregator
-
getPrefix
protected String getPrefix()
Description copied from class:AbstractTestAggregatorGet message prefix to identify the concrete aggregator.- Specified by:
getPrefixin classAbstractTestAggregator- Returns:
- message prefix (aggregator qualifier)
-
-