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

    Fields inherited from class teetime.framework.AbstractProducerStage

    outputPort

    Fields inherited from class teetime.framework.AbstractStage

    logger
  • 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • RestServiceStage

      public RestServiceStage​(java.lang.String hostname, int port, IAccessHandler accessRestrictionHandler)
      Create a rest service stage.
      Parameters:
      hostname - hostname to listen to
      port - port to listen to
      accessRestrictionHandler - access restriction handler for connections
  • Method Details

    • execute

      protected void execute() throws java.lang.Exception
      Specified by:
      execute in class teetime.framework.AbstractStage
      Throws:
      java.lang.Exception