ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/jakarta/servlet/http/HttpUpgradeHandler.java

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

      
    
Rootfs path

      
    
Size
1521 (1.5 KB)
MD5
a3420bd26109b9f62a088c571898dc99
SHA1
c66846e05f9bbcab8eac047cfc00bdc33ed83ede
SHA256
b0996c36c85fa04b0d8d392f2f9bcee017f4d8af55556031c31be7aeec6d4c17
SHA512

      
    
SHA1_git
338ad4bd589ee02a8aa93c59b6e1c3fe85df22e9
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
HttpUpgradeHandler.java | 1.5 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.servlet.http; /** * Interface between the HTTP upgrade process and the new protocol. * * @since Servlet 3.1 */ public interface HttpUpgradeHandler { /** * This method is called once the request/response pair where {@link HttpServletRequest#upgrade(Class)} is called * has completed processing and is the point where control of the connection passes from the container to the * {@link HttpUpgradeHandler}. * * @param connection The connection that has been upgraded */ void init(WebConnection connection); /** * This method is called after the upgraded connection has been closed. */ void destroy(); }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
59.5
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