Interface HttpRequest.HttpPart

  • All Superinterfaces:
    HttpMessage
    Enclosing interface:
    HttpRequest

    public static interface HttpRequest.HttpPart
    extends HttpMessage
    Represents one part inside a multipart (multipart/form-data) HTTP request. Each such part can have its own HTTP headers, which can be retrieved with the methods inherited from HttpMessage.
    • Method Detail

      • getFileName

        java.util.Optional<java.lang.String> getFileName()
        Returns the filename associated with this part, if any.
        Returns:
        the filename associated with this part, if any.