Class RestServiceStage
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractProducerStage<IMonitoringRecord>
kieker.analysis.generic.source.rest.RestServiceStage
public class RestServiceStage extends teetime.framework.AbstractProducerStage<IMonitoringRecord>
REST / HTTP source stage.
- Since:
- 1.15
- Author:
- Reiner Jung
-
Field Summary
-
Constructor Summary
Constructors Constructor Description RestServiceStage(java.lang.String hostname, int port, IAccessHandler accessRestrictionHandler)
Create a rest service stage. -
Method Summary
Modifier and Type Method Description protected void
execute()
Methods inherited from class teetime.framework.AbstractProducerStage
getOutputPort, getTerminationStrategy
Methods inherited from class teetime.framework.AbstractStage
abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getInputPorts, getOutputPorts, getOwningThread, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onStarting, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
-
Constructor Details
-
RestServiceStage
public RestServiceStage(java.lang.String hostname, int port, IAccessHandler accessRestrictionHandler)Create a rest service stage.- Parameters:
hostname
- hostname to listen toport
- port to listen toaccessRestrictionHandler
- access restriction handler for connections
-
-
Method Details
-
execute
protected void execute() throws java.lang.Exception- Specified by:
execute
in classteetime.framework.AbstractStage
- Throws:
java.lang.Exception
-