ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/jakarta/websocket/server/ServerApplicationConfig.java

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/jakarta/websocket/server/ServerApplicationConfig.java
Status
scanned
Type
file
Name
ServerApplicationConfig.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
1975 (1.9 KB)
MD5
b1bb7c70f85f722128e2258fa8c714e3
SHA1
bc2b41fd36854585b6a395fdf489d33a9ff9ede2
SHA256
beb7156bdca694e9acfbb789fde3393208df56b7f3a17d69bb9d0d0ecd4007b5
SHA512

      
    
SHA1_git
edf8c33e3cc0b2d2d9aebc5793addca82858cd22
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
ServerApplicationConfig.java | 1.9 KB |

/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package jakarta.websocket.server; import java.util.Set; import jakarta.websocket.Endpoint; /** * Applications may provide an implementation of this interface to filter the discovered WebSocket endpoints that are * deployed. Implementations of this class will be discovered via an ServletContainerInitializer scan. */ public interface ServerApplicationConfig { /** * Enables applications to filter the discovered implementations of {@link ServerEndpointConfig}. * * @param scanned The {@link Endpoint} implementations found in the application * * @return The set of configurations for the endpoint the application wishes to deploy */ Set<ServerEndpointConfig> getEndpointConfigs(Set<Class<? extends Endpoint>> scanned); /** * Enables applications to filter the discovered classes annotated with {@link ServerEndpoint}. * * @param scanned The POJOs annotated with {@link ServerEndpoint} found in the application * * @return The set of POJOs the application wishes to deploy */ Set<Class<?>> getAnnotatedEndpointClasses(Set<Class<?>> scanned); }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
50.0
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 9 9