Home | History | Annotate | Download | only in entity
      1 <html>
      2 <head>
      3 <!--
      4 /*
      5  * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/package.html $
      6  * $Revision: 496070 $
      7  * $Date: 2007-01-14 04:18:34 -0800 (Sun, 14 Jan 2007) $
      8  *
      9  * ====================================================================
     10  * Licensed to the Apache Software Foundation (ASF) under one
     11  * or more contributor license agreements.  See the NOTICE file
     12  * distributed with this work for additional information
     13  * regarding copyright ownership.  The ASF licenses this file
     14  * to you under the Apache License, Version 2.0 (the
     15  * "License"); you may not use this file except in compliance
     16  * with the License.  You may obtain a copy of the License at
     17  *
     18  *   http://www.apache.org/licenses/LICENSE-2.0
     19  *
     20  * Unless required by applicable law or agreed to in writing,
     21  * software distributed under the License is distributed on an
     22  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     23  * KIND, either express or implied.  See the License for the
     24  * specific language governing permissions and limitations
     25  * under the License.
     26  * ====================================================================
     27  *
     28  * This software consists of voluntary contributions made by many
     29  * individuals on behalf of the Apache Software Foundation.  For more
     30  * information on the Apache Software Foundation, please see
     31  * <http://www.apache.org/>.
     32  *
     33  */
     34 -->
     35 </head>
     36 <body>
     37 Representations for HTTP message entities.
     38 
     39 An {@link org.apache.http.HttpEntity entity} is the optional content of a
     40 {@link org.apache.http.HttpMessage message}.
     41 You'll find a basic selection of entity implementations here.
     42 If you need to send an entity, you can provide it for example as a
     43 {@link org.apache.http.entity.ByteArrayEntity byte array},
     44 {@link org.apache.http.entity.StringEntity string},
     45 {@link org.apache.http.entity.FileEntity file}, or through an arbitrary
     46 {@link org.apache.http.entity.InputStreamEntity input stream}.
     47 If you receive a message with an entity, you typically get that as a
     48 {@link org.apache.http.entity.BasicHttpEntity basic} entity.
     49 Entity implementations can be
     50 {@link org.apache.http.entity.HttpEntityWrapper wrapped},
     51 for example to
     52 {@link org.apache.http.entity.BufferedHttpEntity buffer}
     53 the content in memory.
     54 
     55 
     56 
     57 </body>
     58 </html>
     59