Package kieker.tools.source
Class RestServiceCompositeStage
java.lang.Object
teetime.framework.CompositeStage
kieker.tools.source.RestServiceCompositeStage
- All Implemented Interfaces:
kieker.analysis.generic.source.ISourceCompositeStage
public class RestServiceCompositeStage
extends teetime.framework.CompositeStage
implements kieker.analysis.generic.source.ISourceCompositeStage
Multiple TCP input composite stage. This wrapper composite stage allows to configure the
RestServiceStage via a configuration object.
Configuration parameters are:
- port
- port where the service is listening on
- hostname
- virtual host name to expect in URI (optional)
- accessHandler
- Not all hosts should be allowed to send monitoring data, the access handler limits access to the service
- Since:
- 1.15
-
Field Summary
-
Constructor Summary
Constructors Constructor Description RestServiceCompositeStage(java.lang.String hostname, int port, kieker.analysis.generic.source.IAccessHandler accessHandler)Create a source composite stage for rest services.RestServiceCompositeStage(kieker.common.configuration.Configuration configuration)Deprecated. -
Method Summary
Modifier and Type Method Description teetime.framework.OutputPort<kieker.common.record.IMonitoringRecord>getOutputPort()
-
Constructor Details
-
RestServiceCompositeStage
@Deprecated public RestServiceCompositeStage(kieker.common.configuration.Configuration configuration) throws kieker.common.exception.ConfigurationExceptionDeprecated.Create a source composite stage for rest services.- Parameters:
configuration- configuration for the service- Throws:
kieker.common.exception.ConfigurationException- on configuration errors
-
RestServiceCompositeStage
public RestServiceCompositeStage(java.lang.String hostname, int port, kieker.analysis.generic.source.IAccessHandler accessHandler)Create a source composite stage for rest services.- Parameters:
hostname- hostname to listen toport- port to listen onaccessHandler- controls access to the rest service
-
-
Method Details
-
getOutputPort
public teetime.framework.OutputPort<kieker.common.record.IMonitoringRecord> getOutputPort()- Specified by:
getOutputPortin interfacekieker.analysis.generic.source.ISourceCompositeStage
-