![JAR search and dependency download from the Maven repository](/logo.png)
com.belladati.sdk.util.MultipartPiece Maven / Gradle / Ivy
package com.belladati.sdk.util;
/**
* Form part, it is one piece of request that could be sent as Multipart Form-Data (MIME type
* {@code multipart/form-data}). This interface is used to unify heterogeneous values submitted
* through a multipart form.
* @see RFC 7578
*
* @author Lubomir Elko
*/
public interface MultipartPiece {
/**
* Returns the name of this form part.
*
* @return the name of this form part
*/
String getName();
/**
* Returns the value of this form part.
*
* @return the value of this form part
*/
T getValue();
/**
* Returns the content type of this form part.
*
* @return the content type of this form part
*/
String getContentType();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy