The HttpCore components implement the most fundamental aspects of the HTTP

protocol. They are nonetheless sufficient to develop basic client-side and
server-side HTTP services with a minimal footprint and no external
dependencies.

The HttpCore base module contains the public API and the default
implementation based on the Java classic (blocking) I/O model. It requires
a Java 1.3 compatible runtime and has no dependency on any external libraries.

HttpCore NIO extensions contain optional components that leverage the event
driven, non-blocking I/O (NIO) model. HttpCore NIO extensions require a
Java 5.0 compatible runtime and the HttpCore base module. HttpCore NIO
extensions are intended for those usage scenarios where raw throughput is
less important than the ability to handle thousands of simultaneous HTTP
connections in a resource efficient manner.

WWW: http://hc.apache.org/httpcomponents-core/
This commit is contained in:
Alex Dupre 2008-09-03 08:06:18 +00:00
parent 1098ca0851
commit 2f946552f5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219730
4 changed files with 69 additions and 0 deletions

View file

@ -269,6 +269,7 @@
SUBDIR += http-analyze
SUBDIR += http_get
SUBDIR += http_load
SUBDIR += httpcore
SUBDIR += httpgrabber
SUBDIR += httptunnel
SUBDIR += httrack

45
www/httpcore/Makefile Normal file
View file

@ -0,0 +1,45 @@
# Ports collection makefile for: HttpCore
# Date created: 11 Jul 2008
# Whom: Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= httpcore
DISTVERSION= 4.0-beta2
CATEGORIES= www java
MASTER_SITES= ${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR= httpcomponents/${PORTNAME}/binary
DISTNAME= httpcomponents-core-${DISTVERSION}-bin
MAINTAINER= ale@FreeBSD.org
COMMENT= Java components implementing the base HTTP protocol
USE_JAVA= yes
JAVA_VERSION= 1.5+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/httpcomponents-core-${DISTVERSION}
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar %%JAVAJARDIR%%/${PORTNAME}-nio.jar
PORTDOCS= *
do-install:
@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..."
@${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${DISTVERSION}.jar \
${JAVAJARDIR}/${PORTNAME}.jar
@${ECHO_MSG} " [DONE]"
@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}-nio.jar..."
@${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-nio-${DISTVERSION}.jar \
${JAVAJARDIR}/${PORTNAME}-nio.jar
@${ECHO_MSG} " [DONE]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation..."
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC}/javadoc && ${FIND} ${PORTNAME} ${PORTNAME}-nio \
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
@${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES.txt ${DOCSDIR}/
@${ECHO_MSG} " [DONE]"
.endif
.include <bsd.port.mk>

3
www/httpcore/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (httpcomponents-core-4.0-beta2-bin.tar.gz) = e33280fe917bc1f2f934bc24fcc8b673
SHA256 (httpcomponents-core-4.0-beta2-bin.tar.gz) = 01969c8c0cffb36873f6ffa29f48beb66ece7b927a2c86b65f6ae365d39a88ce
SIZE (httpcomponents-core-4.0-beta2-bin.tar.gz) = 921495

20
www/httpcore/pkg-descr Normal file
View file

@ -0,0 +1,20 @@
The HttpCore components implement the most fundamental aspects of the HTTP
protocol. They are nonetheless sufficient to develop basic client-side and
server-side HTTP services with a minimal footprint and no external
dependencies.
The HttpCore base module contains the public API and the default
implementation based on the Java classic (blocking) I/O model. It requires
a Java 1.3 compatible runtime and has no dependency on any external libraries.
HttpCore NIO extensions contain optional components that leverage the event
driven, non-blocking I/O (NIO) model. HttpCore NIO extensions require a
Java 5.0 compatible runtime and the HttpCore base module. HttpCore NIO
extensions are intended for those usage scenarios where raw throughput is
less important than the ability to handle thousands of simultaneous HTTP
connections in a resource efficient manner.
WWW: http://hc.apache.org/httpcomponents-core/
- Alex Dupre
ale@FreeBSD.org