org.redkale.net.http

## 类 HttpResourceServlet.FileEntry

- java.lang.Object
- - org.redkale.net.http.HttpResourceServlet.FileEntry

- 封闭类:
    HttpResourceServlet

      protected static class HttpResourceServlet.FileEntry
      extends java.lang.Object

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `protected java.nio.ByteBuffer` | `content`
    `protected java.io.File` | `file`
    `protected java.lang.String` | `filename`
    `protected HttpResourceServlet` | `servlet`

  - ### 构造器概要

    构造器
    构造器和说明
    `FileEntry(HttpResourceServlet servlet, java.io.File file)`
    `FileEntry(HttpResourceServlet servlet, java.lang.String filename, java.nio.ByteBuffer content)`
    `FileEntry(HttpResourceServlet servlet, java.lang.String filename, java.io.InputStream in)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `protected void` | `finalize()`
    `long` | `getCachedLength()`
    `void` | `update()`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 字段详细资料

    - #### filename

          protected final java.lang.String filename

    - #### file

          protected final java.io.File file

    - #### servlet

          protected final HttpResourceServlet servlet

    - #### content

          protected java.nio.ByteBuffer content

  - ### 构造器详细资料

    - #### FileEntry

          public FileEntry(HttpResourceServlet servlet,
                           java.io.File file)

    - #### FileEntry

          public FileEntry(HttpResourceServlet servlet,
                           java.lang.String filename,
                           java.nio.ByteBuffer content)

    - #### FileEntry

          public FileEntry(HttpResourceServlet servlet,
                           java.lang.String filename,
                           java.io.InputStream in)
                    throws java.io.IOException

      抛出:
        `java.io.IOException`

  - ### 方法详细资料

    - #### update

          public void update()

    - #### finalize

          protected void finalize()
                           throws java.lang.Throwable

      覆盖:
        `finalize` 在类中 `java.lang.Object`
      抛出:
        `java.lang.Throwable`

    - #### getCachedLength

          public long getCachedLength()