类 HalBrowserMvcEndpoint
- java.lang.Object
- org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
- org.springframework.boot.actuate.endpoint.mvc.AbstractMvcEndpoint
- org.springframework.boot.actuate.endpoint.mvc.AbstractNamedMvcEndpoint
- org.springframework.boot.actuate.endpoint.mvc.HalJsonMvcEndpoint
- org.springframework.boot.actuate.endpoint.mvc.HalBrowserMvcEndpoint
- 所有已实现的接口:
org.springframework.beans.factory.Aware
,MvcEndpoint
,NamedMvcEndpoint
,org.springframework.context.EnvironmentAware
,org.springframework.context.ResourceLoaderAware
,org.springframework.web.servlet.config.annotation.WebMvcConfigurer
public class HalBrowserMvcEndpoint extends HalJsonMvcEndpoint implements org.springframework.context.ResourceLoaderAware
MvcEndpoint
to expose a HAL browser.- 从以下版本开始:
- 1.3.0
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
HalBrowserMvcEndpoint.HalBrowserLocation
HAL Browser properties.
字段概要
从接口继承的字段 org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint
DISABLED_RESPONSE
构造器概要
构造器 构造器 说明 HalBrowserMvcEndpoint(ManagementServletContext managementServletContext)
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 void
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
String
browse(javax.servlet.http.HttpServletRequest request)
static HalBrowserMvcEndpoint.HalBrowserLocation
getHalBrowserLocation(org.springframework.core.io.ResourceLoader resourceLoader)
void
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
从类继承的方法 org.springframework.boot.actuate.endpoint.mvc.HalJsonMvcEndpoint
getManagementServletContext, links
从类继承的方法 org.springframework.boot.actuate.endpoint.mvc.AbstractNamedMvcEndpoint
getName
从类继承的方法 org.springframework.boot.actuate.endpoint.mvc.AbstractMvcEndpoint
getEndpointType, getEnvironment, getPath, isEnabled, isSensitive, setEnabled, setEnvironment, setPath, setSensitive
从类继承的方法 org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint
getEndpointType, getPath, isSensitive
构造器详细资料
HalBrowserMvcEndpoint
public HalBrowserMvcEndpoint(ManagementServletContext managementServletContext)
方法详细资料
browse
@RequestMapping(produces="text/html") public String browse(javax.servlet.http.HttpServletRequest request)
setResourceLoader
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
- 指定者:
setResourceLoader
在接口中org.springframework.context.ResourceLoaderAware
addResourceHandlers
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
- 指定者:
addResourceHandlers
在接口中org.springframework.web.servlet.config.annotation.WebMvcConfigurer
- 覆盖:
addResourceHandlers
在类中org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
getHalBrowserLocation
public static HalBrowserMvcEndpoint.HalBrowserLocation getHalBrowserLocation(org.springframework.core.io.ResourceLoader resourceLoader)