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

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

      
    
Rootfs path

      
    
Size
2721 (2.7 KB)
MD5
ff57fafb120aa2e65fb4cec218aa9e93
SHA1
1ce399cc3e10b053bc5f0c7b41095e880fc0e073
SHA256
eb2c59e182090bdaa6d873393c7e3b5f0be5072a94fa876023f4907f119ca573
SHA512

      
    
SHA1_git
2ad34081de1309b66e1f829ffa73f1ae001384fc
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
DefaultClientEndpointConfig.java | 2.7 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; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import javax.net.ssl.SSLContext; final class DefaultClientEndpointConfig implements ClientEndpointConfig { private final List<String> preferredSubprotocols; private final List<Extension> extensions; private final List<Class<? extends Encoder>> encoders; private final List<Class<? extends Decoder>> decoders; private final SSLContext sslContext; private final Map<String,Object> userProperties = new ConcurrentHashMap<>(); private final Configurator configurator; DefaultClientEndpointConfig(List<String> preferredSubprotocols, List<Extension> extensions, List<Class<? extends Encoder>> encoders, List<Class<? extends Decoder>> decoders, SSLContext sslContext, Configurator configurator) { this.preferredSubprotocols = preferredSubprotocols; this.extensions = extensions; this.encoders = encoders; this.decoders = decoders; this.sslContext = sslContext; this.configurator = configurator; } @Override public List<String> getPreferredSubprotocols() { return preferredSubprotocols; } @Override public List<Extension> getExtensions() { return extensions; } @Override public List<Class<? extends Encoder>> getEncoders() { return encoders; } @Override public List<Class<? extends Decoder>> getDecoders() { return decoders; } @Override public SSLContext getSSLContext() { return sslContext; } @Override public Map<String,Object> getUserProperties() { return userProperties; } @Override public Configurator getConfigurator() { return configurator; } }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
44.24
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