Module io.helidon.webserver.observe
Package io.helidon.webserver.observe
Class DisabledObserverFeature
java.lang.Object
io.helidon.webserver.observe.DisabledObserverFeature
- All Implemented Interfaces:
 HttpFeature,ServerLifecycle,Supplier<HttpFeature>
An 
HttpFeature that marks endpoint as disabled.- 
Method Summary
Modifier and TypeMethodDescriptionstatic DisabledObserverFeatureCreate a new disabled feature.voidsetup(HttpRouting.Builder routing) Method to set up a feature.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.webserver.http.HttpFeature
get, socket, socketRequiredMethods inherited from interface io.helidon.webserver.ServerLifecycle
afterStart, afterStop, beforeStart 
- 
Method Details
- 
create
Create a new disabled feature. Any requests to the endpoint will end withStatus.SERVICE_UNAVAILABLE_503.- Parameters:
 observerName- name of the observer, such asHealthendpoint- endpoint of the observer, such as/observe/health/*- Returns:
 - a new feature that returns unavailable for the endpoint for any method
 
 - 
setup
Description copied from interface:HttpFeatureMethod to set up a feature.- Specified by:
 setupin interfaceHttpFeature- Parameters:
 routing- routing builder
 
 -