Class LoopbackRestServerSingleton
java.lang.Object
org.refcodes.observer.AbstractObservable<RestEndpoint, HttpRequest>
org.refcodes.rest.AbstractRestServer
org.refcodes.rest.LoopbackRestServer
org.refcodes.rest.LoopbackRestServerSingleton
- All Implemented Interfaces:
Disposable, Observable<RestEndpoint>, Observers<RestEndpoint, RestServer>, RestServer, BaseLocatorAccessor, BaseLocatorAccessor.BaseLocatorBuilder<RestServer>, BaseLocatorAccessor.BaseLocatorMutator, BaseLocatorAccessor.BaseLocatorProperty, MediaTypeFactoryLookup, MediaTypeFactoryLookup.MutableMediaTypeFactoryLookup, RealmAccessor, RealmAccessor.RealmBuilder<RestServer>, RealmAccessor.RealmMutator, RealmAccessor.RealmProperty
The singleton of the
LoopbackRestServer for easy RestServer
access.-
Nested Class Summary
Nested classes/interfaces inherited from interface BaseLocatorAccessor
BaseLocatorAccessor.BaseLocatorBuilder<B>, BaseLocatorAccessor.BaseLocatorMutator, BaseLocatorAccessor.BaseLocatorPropertyNested classes/interfaces inherited from interface MediaTypeFactoryLookup
MediaTypeFactoryLookup.MutableMediaTypeFactoryLookupNested classes/interfaces inherited from interface RealmAccessor
RealmAccessor.RealmBuilder<B>, RealmAccessor.RealmMutator, RealmAccessor.RealmProperty -
Field Summary
Fields inherited from class AbstractRestServer
_isVerbose -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstantiates a new loopback rest server singleton. -
Method Summary
Modifier and TypeMethodDescriptionstatic LoopbackRestServerReturns the singleton's instance as fabricated by thisLoopbackRestServerSingleton.Methods inherited from class LoopbackRestServer
onHttpRequest, onHttpRequest, withBaseLocator, withDisableObservers, withEnableObservers, withObserversActive, withRealmMethods inherited from class AbstractRestServer
addMediaTypeFactory, dispose, fireEvent, getBaseLocator, getFactoryMediaTypes, getRealm, initMedaTypeFactories, isObserversActive, observers, postIntercept, preIntercept, setBaseLocator, setObserversActive, setRealm, subscribeObserver, toMediaTypeFactory, toNegotiatedContenType, toResponseBody, unsubscribeObserverMethods inherited from class AbstractObservable
clear, doHandleEventListenerException, fireEvent, getThreadPriority, hasObserver, isEmpty, setThreadPriority, sizeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BaseLocatorAccessor.BaseLocatorProperty
letBaseLocatorMethods inherited from interface MediaTypeFactoryLookup
hasMediaTypeFactoryMethods inherited from interface Observable
hasObserverMethods inherited from interface Observers
disableObservers, enableObserversMethods inherited from interface RealmAccessor.RealmProperty
letRealm
-
Constructor Details
-
LoopbackRestServerSingleton
protected LoopbackRestServerSingleton()Instantiates a new loopback rest server singleton.
-
-
Method Details
-
getInstance
Returns the singleton's instance as fabricated by thisLoopbackRestServerSingleton.- Returns:
- The
LoopbackRestServersingleton's instance.
-