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:
Sebastian Bazley 2009-02-15 22:17:10 +00:00
parent eec7461bed
commit 77ab335fb3
11 changed files with 41 additions and 3 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -31,6 +31,10 @@
package org.apache.http.entity.mime;
/**
*
* @since 4.0
*/
public enum HttpMultipartMode {
STRICT,

View File

@ -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;

View File

@ -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 {

View File

@ -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;

View File

@ -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;

View File

@ -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();

View File

@ -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;

View 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;

View File

@ -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;