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.BaseLocatorProperty
Nested classes/interfaces inherited from interface org.refcodes.web.MediaTypeFactoryLookup
org.refcodes.web.MediaTypeFactoryLookup.MutableMediaTypeFactoryLookup
Nested 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
ModifierConstructorDescriptionprotected
Instantiates a new loopback rest server singleton. -
Method Summary
Modifier and TypeMethodDescriptionstatic LoopbackRestServer
Returns the singleton's instance as fabricated by thisLoopbackRestServerSingleton
.Methods inherited from class org.refcodes.rest.LoopbackRestServer
onHttpRequest, onHttpRequest, withBaseLocator, withDisableObservers, withEnableObservers, withObserversActive, withRealm
Methods 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, unsubscribeObserver
Methods inherited from class org.refcodes.observer.AbstractObservable
clear, doHandleEventListenerException, fireEvent, getThreadPriority, hasObserver, isEmpty, setThreadPriority, size
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.refcodes.web.BaseLocatorAccessor.BaseLocatorProperty
letBaseLocator
Methods inherited from interface org.refcodes.web.MediaTypeFactoryLookup
hasMediaTypeFactory
Methods inherited from interface org.refcodes.observer.Observable
hasObserver
Methods inherited from interface org.refcodes.observer.Observers
disableObservers, enableObservers
Methods 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
LoopbackRestServer
singleton's instance.
-