Class AbstractHttpService

java.lang.Object
com.google.common.util.concurrent.AbstractService
org.yamcs.http.AbstractHttpService
All Implemented Interfaces:
com.google.common.util.concurrent.Service
Direct Known Subclasses:
AuditLog, TokenStore

public abstract class AbstractHttpService extends com.google.common.util.concurrent.AbstractService
An HTTP-specific subservice whose lifecycle is managed by HttpServer.

HTTP services may participate in the start-stop phases of the HttpServer.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service

    com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Log
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract void
    init(HttpServer httpServer)
     

    Methods inherited from class com.google.common.util.concurrent.AbstractService

    addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, doCancelStart, doStart, doStop, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync, toString

    Methods inherited from class java.lang.Object

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

    • log

      protected Log log
  • Constructor Details

    • AbstractHttpService

      public AbstractHttpService()
  • Method Details