Add @since 4.0 tags
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@744772 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eec7461bed
commit
77ab335fb3
|
@ -43,6 +43,8 @@ import org.apache.james.mime4j.message.Header;
|
|||
* automatically populates the header with standard fields based
|
||||
* on the content description of the enclosed body.
|
||||
*
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public class FormBodyPart extends BodyPart {
|
||||
|
||||
|
|
|
@ -56,6 +56,8 @@ import org.apache.james.mime4j.util.MessageUtils;
|
|||
* capable of operating either in the strict (fully RFC 822, RFC 2045,
|
||||
* RFC 2046 compliant) or the browser compatible modes.
|
||||
*
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public class HttpMultipart extends Multipart {
|
||||
|
||||
|
|
|
@ -31,6 +31,10 @@
|
|||
|
||||
package org.apache.http.entity.mime;
|
||||
|
||||
/**
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public enum HttpMultipartMode {
|
||||
|
||||
STRICT,
|
||||
|
|
|
@ -36,6 +36,10 @@ import java.nio.charset.Charset;
|
|||
import org.apache.james.mime4j.field.Field;
|
||||
import org.apache.james.mime4j.util.CharsetUtil;
|
||||
|
||||
/**
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public final class MIME {
|
||||
|
||||
public static final String CONTENT_TYPE = Field.CONTENT_TYPE;
|
||||
|
|
|
@ -52,6 +52,8 @@ import org.apache.james.mime4j.message.Message;
|
|||
* Multipart/form coded HTTP entity consisting of multiple
|
||||
* body parts.
|
||||
*
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public class MultipartEntity implements HttpEntity {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* $HeadURL:$
|
||||
* $Revision:$
|
||||
* $Date:$
|
||||
* $HeadURL$
|
||||
* $Revision$
|
||||
* $Date$
|
||||
*
|
||||
* ====================================================================
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
|
@ -32,6 +32,10 @@ package org.apache.http.entity.mime;
|
|||
|
||||
import org.apache.james.mime4j.MimeException;
|
||||
|
||||
/**
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public class UnexpectedMimeException extends RuntimeException {
|
||||
|
||||
private static final long serialVersionUID = 1316818299528463579L;
|
||||
|
|
|
@ -36,6 +36,10 @@ import java.util.Map;
|
|||
|
||||
import org.apache.james.mime4j.message.AbstractBody;
|
||||
|
||||
/**
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public abstract class AbstractContentBody extends AbstractBody implements ContentBody {
|
||||
|
||||
private final String mimeType;
|
||||
|
|
|
@ -34,6 +34,10 @@ package org.apache.http.entity.mime.content;
|
|||
import org.apache.james.mime4j.descriptor.ContentDescriptor;
|
||||
import org.apache.james.mime4j.message.Body;
|
||||
|
||||
/**
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public interface ContentBody extends Body, ContentDescriptor {
|
||||
|
||||
String getFilename();
|
||||
|
|
|
@ -40,6 +40,10 @@ import java.io.OutputStream;
|
|||
import org.apache.http.entity.mime.MIME;
|
||||
import org.apache.james.mime4j.message.BinaryBody;
|
||||
|
||||
/**
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public class FileBody extends AbstractContentBody implements BinaryBody {
|
||||
|
||||
private final File file;
|
||||
|
|
|
@ -38,6 +38,10 @@ import java.io.OutputStream;
|
|||
import org.apache.http.entity.mime.MIME;
|
||||
import org.apache.james.mime4j.message.BinaryBody;
|
||||
|
||||
/**
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public class InputStreamBody extends AbstractContentBody implements BinaryBody {
|
||||
|
||||
private final InputStream in;
|
||||
|
|
|
@ -45,6 +45,10 @@ import java.util.Map;
|
|||
import org.apache.http.entity.mime.MIME;
|
||||
import org.apache.james.mime4j.message.TextBody;
|
||||
|
||||
/**
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public class StringBody extends AbstractContentBody implements TextBody {
|
||||
|
||||
private final byte[] content;
|
||||
|
|
Loading…
Reference in New Issue