@ConfigurationProperties(prefix="endpoints.jolokia", ignoreUnknownFields=false) @HypermediaDisabled public class JolokiaMvcEndpoint extends Object implements MvcEndpoint, InitializingBean, ApplicationContextAware, ServletContextAware, EnvironmentAware
MvcEndpoint to expose Jolokia.DISABLED_RESPONSE| Constructor and Description |
|---|
JolokiaMvcEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
Class<? extends Endpoint> |
getEndpointType()
Return the type of
Endpoint exposed, or null if this
MvcEndpoint exposes information that cannot be represented as a traditional
Endpoint. |
String |
getPath()
Return the MVC path of the endpoint.
|
ModelAndView |
handle(HttpServletRequest request,
HttpServletResponse response) |
boolean |
isEnabled() |
boolean |
isSensitive()
Return if the endpoint exposes sensitive information.
|
void |
setApplicationContext(ApplicationContext context) |
void |
setEnabled(boolean enabled) |
void |
setEnvironment(Environment environment) |
void |
setInitParameters(Properties initParameters) |
void |
setPath(String path) |
void |
setSensitive(Boolean sensitive) |
void |
setServletContext(ServletContext servletContext) |
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic void setServletContext(ServletContext servletContext)
setServletContext in interface ServletContextAwarepublic void setInitParameters(Properties initParameters)
public final void setApplicationContext(ApplicationContext context) throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansExceptionpublic void setEnvironment(Environment environment)
setEnvironment in interface EnvironmentAwarepublic boolean isEnabled()
public void setEnabled(boolean enabled)
public boolean isSensitive()
MvcEndpointisSensitive in interface MvcEndpointpublic void setSensitive(Boolean sensitive)
public String getPath()
MvcEndpointgetPath in interface MvcEndpointpublic void setPath(String path)
public Class<? extends Endpoint> getEndpointType()
MvcEndpointEndpoint exposed, or null if this
MvcEndpoint exposes information that cannot be represented as a traditional
Endpoint.getEndpointType in interface MvcEndpoint@RequestMapping(value="/**") public ModelAndView handle(HttpServletRequest request, HttpServletResponse response) throws Exception
ExceptionCopyright © 2016 Pivotal Software, Inc.. All rights reserved.