ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/BinaryWebsocketMessage.java

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/BinaryWebsocketMessage.java
Status
scanned
Type
file
Name
BinaryWebsocketMessage.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
1236 (1.2 KB)
MD5
79a4dffd7d01b52f817f69bf45d6b7b7
SHA1
7246a29b406ab882b1ce4ad7db0e93e7d47fd36f
SHA256
4d029abc567b712c74235c59acad1c131252453de6212ef0553683b886ee83d7
SHA512

      
    
SHA1_git
0a28f64eb2975816bcb370ec14cbf7db63273727
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
BinaryWebsocketMessage.java | 1.2 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 websocket.drawboard.wsmessages; import java.nio.ByteBuffer; /** * Represents a binary websocket message. */ public final class BinaryWebsocketMessage extends AbstractWebsocketMessage { private final ByteBuffer bytes; public BinaryWebsocketMessage(ByteBuffer bytes) { this.bytes = bytes; } public ByteBuffer getBytes() { return bytes; } }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
78.29
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