Renamed o.a.http.client.mime to o.a.http.entity.mime
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618333 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4f6599c959
commit
0be7a714d3
|
@ -27,7 +27,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.http.examples.client.mime;
|
||||
package org.apache.http.examples.entity.mime;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
|
@ -35,9 +35,9 @@ import org.apache.http.HttpEntity;
|
|||
import org.apache.http.HttpResponse;
|
||||
import org.apache.http.client.HttpClient;
|
||||
import org.apache.http.client.methods.HttpPost;
|
||||
import org.apache.http.client.mime.MultipartFormHttpEntity;
|
||||
import org.apache.http.client.mime.content.FileBody;
|
||||
import org.apache.http.client.mime.content.StringBody;
|
||||
import org.apache.http.entity.mime.MultipartFormHttpEntity;
|
||||
import org.apache.http.entity.mime.content.FileBody;
|
||||
import org.apache.http.entity.mime.content.StringBody;
|
||||
import org.apache.http.impl.client.DefaultHttpClient;
|
||||
|
||||
/**
|
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.http.client.mime;
|
||||
package org.apache.http.entity.mime;
|
||||
|
||||
import java.nio.charset.Charset;
|
||||
|
|
@ -29,9 +29,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.http.client.mime;
|
||||
package org.apache.http.entity.mime;
|
||||
|
||||
import org.apache.http.client.mime.content.ContentBody;
|
||||
import org.apache.http.entity.mime.content.ContentBody;
|
||||
import org.apache.james.mime4j.field.Field;
|
||||
import org.apache.james.mime4j.message.BodyPart;
|
||||
import org.apache.james.mime4j.message.Header;
|
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.http.client.mime;
|
||||
package org.apache.http.entity.mime;
|
||||
|
||||
import java.io.BufferedWriter;
|
||||
import java.io.IOException;
|
||||
|
@ -39,7 +39,7 @@ import java.nio.charset.Charset;
|
|||
import java.util.List;
|
||||
|
||||
import org.apache.commons.io.output.ByteArrayOutputStream;
|
||||
import org.apache.http.client.mime.content.ContentBody;
|
||||
import org.apache.http.entity.mime.content.ContentBody;
|
||||
import org.apache.http.protocol.HTTP;
|
||||
import org.apache.james.mime4j.field.ContentTypeField;
|
||||
import org.apache.james.mime4j.field.Field;
|
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.http.client.mime;
|
||||
package org.apache.http.entity.mime;
|
||||
|
||||
public enum HttpMultipartMode {
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.http.client.mime;
|
||||
package org.apache.http.entity.mime;
|
||||
|
||||
import java.nio.charset.Charset;
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.http.client.mime;
|
||||
package org.apache.http.entity.mime;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
@ -41,7 +41,7 @@ import java.util.Random;
|
|||
|
||||
import org.apache.http.Header;
|
||||
import org.apache.http.HttpEntity;
|
||||
import org.apache.http.client.mime.content.ContentBody;
|
||||
import org.apache.http.entity.mime.content.ContentBody;
|
||||
import org.apache.http.message.BasicHeader;
|
||||
import org.apache.http.protocol.HTTP;
|
||||
import org.apache.james.mime4j.field.Field;
|
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.http.client.mime;
|
||||
package org.apache.http.entity.mime;
|
||||
|
||||
import java.io.BufferedWriter;
|
||||
import java.io.IOException;
|
|
@ -29,9 +29,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.http.client.mime.content;
|
||||
package org.apache.http.entity.mime.content;
|
||||
|
||||
import org.apache.http.client.mime.ContentDescriptor;
|
||||
import org.apache.http.entity.mime.ContentDescriptor;
|
||||
import org.apache.james.mime4j.message.Body;
|
||||
|
||||
public interface ContentBody extends Body, ContentDescriptor {
|
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.http.client.mime.content;
|
||||
package org.apache.http.entity.mime.content;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
|
@ -39,7 +39,7 @@ import java.io.OutputStream;
|
|||
import java.nio.charset.Charset;
|
||||
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.apache.http.client.mime.MIME;
|
||||
import org.apache.http.entity.mime.MIME;
|
||||
import org.apache.james.mime4j.message.AbstractBody;
|
||||
import org.apache.james.mime4j.message.BinaryBody;
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.http.client.mime.content;
|
||||
package org.apache.http.entity.mime.content;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
@ -37,7 +37,7 @@ import java.io.OutputStream;
|
|||
import java.nio.charset.Charset;
|
||||
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.apache.http.client.mime.MIME;
|
||||
import org.apache.http.entity.mime.MIME;
|
||||
import org.apache.james.mime4j.message.AbstractBody;
|
||||
import org.apache.james.mime4j.message.BinaryBody;
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.http.client.mime.content;
|
||||
package org.apache.http.entity.mime.content;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.IOException;
|
||||
|
@ -40,7 +40,7 @@ import java.io.UnsupportedEncodingException;
|
|||
import java.nio.charset.Charset;
|
||||
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.apache.http.client.mime.MIME;
|
||||
import org.apache.http.entity.mime.MIME;
|
||||
import org.apache.james.mime4j.message.AbstractBody;
|
||||
import org.apache.james.mime4j.message.TextBody;
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.http.client.mime;
|
||||
package org.apache.http.entity.mime;
|
||||
|
||||
import junit.framework.Test;
|
||||
import junit.framework.TestCase;
|
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.http.client.mime;
|
||||
package org.apache.http.entity.mime;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.File;
|
||||
|
@ -43,9 +43,12 @@ import junit.framework.Test;
|
|||
import junit.framework.TestCase;
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
import org.apache.http.client.mime.content.FileBody;
|
||||
import org.apache.http.client.mime.content.InputStreamBody;
|
||||
import org.apache.http.client.mime.content.StringBody;
|
||||
import org.apache.http.entity.mime.FormBodyPart;
|
||||
import org.apache.http.entity.mime.HttpMultipart;
|
||||
import org.apache.http.entity.mime.HttpMultipartMode;
|
||||
import org.apache.http.entity.mime.content.FileBody;
|
||||
import org.apache.http.entity.mime.content.InputStreamBody;
|
||||
import org.apache.http.entity.mime.content.StringBody;
|
||||
import org.apache.james.mime4j.field.Field;
|
||||
import org.apache.james.mime4j.message.BodyPart;
|
||||
import org.apache.james.mime4j.message.Header;
|
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.http.client.mime;
|
||||
package org.apache.http.entity.mime;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
|
@ -38,8 +38,10 @@ import java.io.IOException;
|
|||
import org.apache.http.Header;
|
||||
import org.apache.http.HeaderElement;
|
||||
import org.apache.http.NameValuePair;
|
||||
import org.apache.http.client.mime.content.InputStreamBody;
|
||||
import org.apache.http.client.mime.content.StringBody;
|
||||
import org.apache.http.entity.mime.HttpMultipartMode;
|
||||
import org.apache.http.entity.mime.MultipartFormHttpEntity;
|
||||
import org.apache.http.entity.mime.content.InputStreamBody;
|
||||
import org.apache.http.entity.mime.content.StringBody;
|
||||
import org.apache.james.mime4j.util.CharsetUtil;
|
||||
|
||||
import junit.framework.Test;
|
Loading…
Reference in New Issue