org.apache.struts2.dispatcher.multipart

## Class StrutsUploadedFile.Builder

- java.lang.Object
- - org.apache.struts2.dispatcher.multipart.StrutsUploadedFile.Builder

- Enclosing class:
    StrutsUploadedFile

      public static class StrutsUploadedFile.Builder
      extends Object

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `UploadedFile` | `build()`
    `static StrutsUploadedFile.Builder` | `create(File file)`
    `StrutsUploadedFile.Builder` | `withContentType(String contentType)`
    `StrutsUploadedFile.Builder` | `withInputName(String inputName)`
    `StrutsUploadedFile.Builder` | `withOriginalName(String originalName)`

    - ### Methods inherited from class java.lang.Object

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

- - ### Method Detail

    - #### create

          public static StrutsUploadedFile.Builder create(File file)

    - #### withContentType

          public StrutsUploadedFile.Builder withContentType(String contentType)

    - #### withOriginalName

          public StrutsUploadedFile.Builder withOriginalName(String originalName)

    - #### withInputName

          public StrutsUploadedFile.Builder withInputName(String inputName)

    - #### build

          public UploadedFile build()

Copyright © 2000–2025 Apache Software Foundation. All rights reserved.