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

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

      
    
Rootfs path

      
    
Size
1518 (1.5 KB)
MD5
66c5fc217fb5b6e0e189fb4efe872ad3
SHA1
0ac9cdb9dd12dc85803b3a23d55ff191c33b5d41
SHA256
84df6047c8428b4d7b5fa4fd3152fb57136607bda41cbf9a951dcfe718dd3465
SHA512

      
    
SHA1_git
592692951091730ce29fa9459813d3df7a9d1fb6
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
MessageHandler.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.websocket; public interface MessageHandler { interface Partial<T> extends MessageHandler { /** * Called when part of a message is available to be processed. * * @param messagePart The message part * @param last <code>true</code> if this is the last part of this message, else <code>false</code> */ void onMessage(T messagePart, boolean last); } interface Whole<T> extends MessageHandler { /** * Called when a whole message is available to be processed. * * @param message The message */ void onMessage(T message); } }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
62.3
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