@Configuration @EnableWebSocket public class WebConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| 构造器和说明 |
|---|
WebConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry) |
org.springframework.web.socket.server.standard.ServerEndpointExporter |
serverEndpointExporter() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddArgumentResolvers, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic void addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry)
addCorsMappings 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurer@Bean public org.springframework.web.socket.server.standard.ServerEndpointExporter serverEndpointExporter()
Copyright © 2023. All rights reserved.