org.jboss.resteasy.plugins.providers.multipart.MultipartConstants Maven / Gradle / Ivy
package org.jboss.resteasy.plugins.providers.multipart;
import jakarta.ws.rs.core.MediaType;
/**
* @author Bill Burke
* @version $Revision: 1 $
*/
public interface MultipartConstants {
/**
* "multipart/mixed"
*/
String MULTIPART_MIXED = "multipart/mixed";
/**
* "multipart/mixed"
*/
MediaType MULTIPART_MIXED_TYPE = new MediaType("multipart", "mixed");
/**
* "multipart/related"
*/
String MULTIPART_RELATED = "multipart/related";
/**
* "multipart/related"
*/
MediaType MULTIPART_RELATED_TYPE = new MediaType("multipart", "related");
/**
* Default fallback of the HTTP 1.1 protocol.
*
* "text/plain; charset=ISO-8859-1"
*/
String TEXT_PLAIN_WITH_CHARSET_ISO_8859_1 = "text/plain; charset=ISO-8859-1";
/**
* Default fallback of the HTTP 1.1 protocol.
*
* "text/plain; charset=ISO-8859-1"
*/
MediaType TEXT_PLAIN_WITH_CHARSET_ISO_8859_1_TYPE = MediaType.valueOf(TEXT_PLAIN_WITH_CHARSET_ISO_8859_1);
/**
* Default fallback of MIME messages
*
* "text/plain; charset=us-ascii"
*/
String TEXT_PLAIN_WITH_CHARSET_US_ASCII = "text/plain; charset=us-ascii";
/**
* Default fallback of MIME messages
*
* "text/plain; charset=us-ascii"
*/
MediaType TEXT_PLAIN_WITH_CHARSET_US_ASCII_TYPE = MediaType.valueOf(TEXT_PLAIN_WITH_CHARSET_US_ASCII);
/**
* "application/xop+xml"
*/
String APPLICATION_XOP_XML = "application/xop+xml";
/**
* "application/xop+xml"
*/
MediaType APPLICATION_XOP_XML_TYPE = new MediaType("application", "xop+xml");
}