org.springframework.web.socket.handler.BeanCreatingHandlerProvider Java Examples
The following examples show how to use
org.springframework.web.socket.handler.BeanCreatingHandlerProvider.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ServerEndpointRegistration.java From spring-analysis-note with MIT License | 5 votes |
/** * Create a new {@link ServerEndpointRegistration} instance from an * {@code javax.websocket.Endpoint} class. * @param path the endpoint path * @param endpointClass the endpoint class */ public ServerEndpointRegistration(String path, Class<? extends Endpoint> endpointClass) { Assert.hasText(path, "Path must not be empty"); Assert.notNull(endpointClass, "Endpoint Class must not be null"); this.path = path; this.endpoint = null; this.endpointProvider = new BeanCreatingHandlerProvider<>(endpointClass); }
Example #2
Source File: ServerEndpointRegistration.java From java-technology-stack with MIT License | 5 votes |
/** * Create a new {@link ServerEndpointRegistration} instance from an * {@code javax.websocket.Endpoint} class. * @param path the endpoint path * @param endpointClass the endpoint class */ public ServerEndpointRegistration(String path, Class<? extends Endpoint> endpointClass) { Assert.hasText(path, "Path must not be empty"); Assert.notNull(endpointClass, "Endpoint Class must not be null"); this.path = path; this.endpoint = null; this.endpointProvider = new BeanCreatingHandlerProvider<>(endpointClass); }
Example #3
Source File: ServerEndpointRegistration.java From spring4-understanding with Apache License 2.0 | 5 votes |
/** * Create a new {@link ServerEndpointRegistration} instance from an * {@code javax.websocket.Endpoint} class. * @param path the endpoint path * @param endpointClass the endpoint class */ public ServerEndpointRegistration(String path, Class<? extends Endpoint> endpointClass) { Assert.hasText(path, "path must not be empty"); Assert.notNull(endpointClass, "endpointClass must not be null"); this.path = path; this.endpointProvider = new BeanCreatingHandlerProvider<Endpoint>(endpointClass); this.endpoint = null; }
Example #4
Source File: AnnotatedEndpointConnectionManager.java From spring-analysis-note with MIT License | 4 votes |
public AnnotatedEndpointConnectionManager(Class<?> endpointClass, String uriTemplate, Object... uriVariables) { super(uriTemplate, uriVariables); this.endpoint = null; this.endpointProvider = new BeanCreatingHandlerProvider<>(endpointClass); }
Example #5
Source File: EndpointConnectionManager.java From spring-analysis-note with MIT License | 4 votes |
public EndpointConnectionManager(Class<? extends Endpoint> endpointClass, String uriTemplate, Object... uriVars) { super(uriTemplate, uriVars); Assert.notNull(endpointClass, "endpointClass must not be null"); this.endpoint = null; this.endpointProvider = new BeanCreatingHandlerProvider<>(endpointClass); }
Example #6
Source File: AnnotatedEndpointConnectionManager.java From java-technology-stack with MIT License | 4 votes |
public AnnotatedEndpointConnectionManager(Class<?> endpointClass, String uriTemplate, Object... uriVariables) { super(uriTemplate, uriVariables); this.endpoint = null; this.endpointProvider = new BeanCreatingHandlerProvider<>(endpointClass); }
Example #7
Source File: EndpointConnectionManager.java From java-technology-stack with MIT License | 4 votes |
public EndpointConnectionManager(Class<? extends Endpoint> endpointClass, String uriTemplate, Object... uriVars) { super(uriTemplate, uriVars); Assert.notNull(endpointClass, "endpointClass must not be null"); this.endpoint = null; this.endpointProvider = new BeanCreatingHandlerProvider<>(endpointClass); }
Example #8
Source File: AnnotatedEndpointConnectionManager.java From spring4-understanding with Apache License 2.0 | 4 votes |
public AnnotatedEndpointConnectionManager(Class<?> endpointClass, String uriTemplate, Object... uriVariables) { super(uriTemplate, uriVariables); this.endpointProvider = new BeanCreatingHandlerProvider<Object>(endpointClass); this.endpoint = null; }
Example #9
Source File: EndpointConnectionManager.java From spring4-understanding with Apache License 2.0 | 4 votes |
public EndpointConnectionManager(Class<? extends Endpoint> endpointClass, String uriTemplate, Object... uriVars) { super(uriTemplate, uriVars); Assert.notNull(endpointClass, "endpointClass must not be null"); this.endpointProvider = new BeanCreatingHandlerProvider<Endpoint>(endpointClass); this.endpoint = null; }