Package org.yamcs.http
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
-
Constructor Summary
-
Method Summary
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
-
Field Details
-
log
-
-
Constructor Details
-
AbstractHttpService
public AbstractHttpService()
-
-
Method Details
-
init
- Throws:
InitException
-