Home / Type/ FileUpload Type — netty Architecture

FileUpload Type — netty Architecture

Architecture documentation for the FileUpload type/interface in FileUpload.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  80667331_0f1a_1c07_4c41_889fc5ca5afe["FileUpload"]
  6a70f29b_5f76_2525_a867_51fe9607376f["FileUpload.java"]
  80667331_0f1a_1c07_4c41_889fc5ca5afe -->|defined in| 6a70f29b_5f76_2525_a867_51fe9607376f
  style 80667331_0f1a_1c07_4c41_889fc5ca5afe fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/multipart/FileUpload.java lines 25–84

public interface FileUpload extends HttpData {
    /**
     * Returns the original filename in the client's filesystem,
     * as provided by the browser (or other client software).
     * @return the original filename
     */
    String getFilename();

    /**
     * Set the original filename
     */
    void setFilename(String filename);

    /**
     * Set the Content Type passed by the browser if defined
     * @param contentType Content Type to set - must be not null
     */
    void setContentType(String contentType);

    /**
     * Returns the content type passed by the browser or null if not defined.
     * @return the content type passed by the browser or null if not defined.
     */
    String getContentType();

    /**
     * Set the Content-Transfer-Encoding type from String as 7bit, 8bit or binary
     */
    void setContentTransferEncoding(String contentTransferEncoding);

    /**
     * Returns the Content-Transfer-Encoding
     * @return the Content-Transfer-Encoding
     */
    String getContentTransferEncoding();

    @Override
    FileUpload copy();

    @Override
    FileUpload duplicate();

    @Override
    FileUpload retainedDuplicate();

    @Override
    FileUpload replace(ByteBuf content);

    @Override
    FileUpload retain();

    @Override
    FileUpload retain(int increment);

    @Override
    FileUpload touch();

    @Override
    FileUpload touch(Object hint);
}

Frequently Asked Questions

What is the FileUpload type?
FileUpload is a type/interface in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/FileUpload.java.
Where is FileUpload defined?
FileUpload is defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/FileUpload.java at line 25.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free