@ConfigurationProperties(prefix="endpoints.camelroutecontroller")
public class CamelRouteControllerMvcEndpoint
extends org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter
CamelRouteControllerEndpoint
as an MvcEndpoint
.Modifier and Type | Class and Description |
---|---|
static class |
AbstractCamelMvcEndpoint.GenericException |
Constructor and Description |
---|
CamelRouteControllerMvcEndpoint(CamelRouteControllerEndpoint delegate) |
Modifier and Type | Method and Description |
---|---|
protected T |
delegate() |
protected Object |
doIfEnabled(Function<T,Object> supplier) |
protected Object |
doIfEnabled(Supplier<Object> supplier) |
protected Object |
doIfEnabledAndNotReadOnly(Supplier<Object> supplier) |
protected org.springframework.http.ResponseEntity<?> |
getForbiddenResponse()
Returns the response that should be returned when the operation is forbidden.
|
boolean |
isReadOnly() |
void |
setReadOnly(boolean readOnly) |
invoke
public CamelRouteControllerMvcEndpoint(CamelRouteControllerEndpoint delegate)
protected org.springframework.http.ResponseEntity<?> getForbiddenResponse()
public boolean isReadOnly()
public void setReadOnly(boolean readOnly)
protected T delegate()
Apache Camel