类 WebServer

java.lang.Object
cn.devspace.nucleus.Server.WebServer
所有已实现的接口:
org.springframework.boot.web.server.ErrorPageRegistrar, org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Configuration @Component public class WebServer extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer, org.springframework.boot.web.server.ErrorPageRegistrar
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
     
    void
    registerErrorPages(org.springframework.boot.web.server.ErrorPageRegistry registry)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
  • 构造器详细资料

    • WebServer

      public WebServer()
  • 方法详细资料

    • addResourceHandlers

      public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
      指定者:
      addResourceHandlers 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • registerErrorPages

      public void registerErrorPages(org.springframework.boot.web.server.ErrorPageRegistry registry)
      指定者:
      registerErrorPages 在接口中 org.springframework.boot.web.server.ErrorPageRegistrar