java.lang.Object
org.refcodes.observer.AbstractObservable<RestEndpoint,org.refcodes.web.HttpRequest>
org.refcodes.rest.AbstractRestfulServer
org.refcodes.rest.LoopbackRestServer
org.refcodes.rest.LoopbackRestServerSingleton
- All Implemented Interfaces:
org.refcodes.mixin.Disposable,org.refcodes.observer.Observable<RestEndpoint>,org.refcodes.observer.Observers<RestEndpoint,,RestfulServer> RestfulServer,org.refcodes.web.BaseLocatorAccessor,org.refcodes.web.BaseLocatorAccessor.BaseLocatorBuilder<RestfulServer>,org.refcodes.web.BaseLocatorAccessor.BaseLocatorMutator,org.refcodes.web.BaseLocatorAccessor.BaseLocatorProperty,org.refcodes.web.MediaTypeFactoryLookup,org.refcodes.web.MediaTypeFactoryLookup.MutableMediaTypeFactoryLookup,org.refcodes.web.RealmAccessor,org.refcodes.web.RealmAccessor.RealmBuilder<RestfulServer>,org.refcodes.web.RealmAccessor.RealmMutator,org.refcodes.web.RealmAccessor.RealmProperty
The singleton of the
LoopbackRestServer for easy
RestfulServer access.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.web.BaseLocatorAccessor
org.refcodes.web.BaseLocatorAccessor.BaseLocatorBuilder<B extends org.refcodes.web.BaseLocatorAccessor.BaseLocatorBuilder<B>>, org.refcodes.web.BaseLocatorAccessor.BaseLocatorMutator, org.refcodes.web.BaseLocatorAccessor.BaseLocatorPropertyNested classes/interfaces inherited from interface org.refcodes.web.MediaTypeFactoryLookup
org.refcodes.web.MediaTypeFactoryLookup.MutableMediaTypeFactoryLookupNested classes/interfaces inherited from interface org.refcodes.web.RealmAccessor
org.refcodes.web.RealmAccessor.RealmBuilder<B extends org.refcodes.web.RealmAccessor.RealmBuilder<B>>, org.refcodes.web.RealmAccessor.RealmMutator, org.refcodes.web.RealmAccessor.RealmProperty -
Field Summary
Fields inherited from class org.refcodes.rest.AbstractRestfulServer
_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 org.refcodes.rest.LoopbackRestServer
onHttpRequest, onHttpRequest, withBaseLocator, withDisableObservers, withEnableObservers, withObserversActive, withRealmMethods inherited from class org.refcodes.rest.AbstractRestfulServer
addMediaTypeFactory, dispose, fireEvent, getBaseLocator, getFactoryMediaTypes, getRealm, initMedaTypeFactories, isObserversActive, observers, postIntercept, preIntercept, setBaseLocator, setObserversActive, setRealm, subscribeObserver, toMediaTypeFactory, toNegotiatedContenType, toResponseBody, unsubscribeObserverMethods inherited from class org.refcodes.observer.AbstractObservable
clear, doHandleEventListenerException, fireEvent, getThreadPriority, hasObserver, isEmpty, setThreadPriority, sizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.refcodes.web.BaseLocatorAccessor.BaseLocatorProperty
letBaseLocatorMethods inherited from interface org.refcodes.web.MediaTypeFactoryLookup
hasMediaTypeFactoryMethods inherited from interface org.refcodes.observer.Observable
hasObserverMethods inherited from interface org.refcodes.observer.Observers
disableObservers, enableObserversMethods inherited from interface org.refcodes.web.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.
-