ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/tomcat/util/http/fileupload/RequestContext.java

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

      
    
Rootfs path

      
    
Size
1800 (1.8 KB)
MD5
2f173b2b78222cecfbeb8ada85be3eb4
SHA1
ea57c349058b10782efcb6876da8458023435da1
SHA256
e4e11893fab88a939eef6e53e9fba8fbad8730ed16223fa1de2530d4eb73da18
SHA512

      
    
SHA1_git
45ffecd8ca2f67dd08df57629a2e7aab8fdb64ce
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
RequestContext.java | 1.8 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 org.apache.tomcat.util.http.fileupload; import java.io.IOException; import java.io.InputStream; /** * <p>Abstracts access to the request information needed for file uploads. This * interface should be implemented for each type of request that may be * handled by FileUpload, such as servlets and portlets.</p> * * @since FileUpload 1.1 */ public interface RequestContext { /** * Retrieve the character encoding for the request. * * @return The character encoding for the request. */ String getCharacterEncoding(); /** * Retrieve the content type of the request. * * @return The content type of the request. */ String getContentType(); /** * Retrieve the input stream for the request. * * @return The input stream for the request. * * @throws IOException if a problem occurs. */ InputStream getInputStream() throws IOException; }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
52.42
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