5
* $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/package.html $
7
* $Date: 2008-12-14 15:55:26 +0100 (Sun, 14 Dec 2008) $
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
18
* http://www.apache.org/licenses/LICENSE-2.0
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
26
* ====================================================================
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/>.
37
Representations for non-blocking HTTP message entities.
39
An {@link org.apache.http.HttpEntity entity} is the optional content of a
40
{@link org.apache.http.HttpMessage message}.
41
This package provides a basic selection of entity implementations
42
that can obtain content from
43
{@link org.apache.http.nio.entity.NByteArrayEntity byte array},
44
{@link org.apache.http.nio.entity.NStringEntity string},
45
{@link org.apache.http.nio.entity.NFileEntity file}, or through an
46
{@link org.apache.http.nio.entity.NHttpEntityWrapper compatibility adaptor}
47
for blocking HTTP entities.
48
If a message is received from an open non-blocking connection, usually it is
50
{@link org.apache.http.nio.entity.ConsumingNHttpEntity consuming} entity.