You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2010/11/13 19:26:06 UTC
svn commit: r1034834 -
/httpcomponents/httpcore/trunk/src/site/apt/examples.apt
Author: olegk
Date: Sat Nov 13 18:26:06 2010
New Revision: 1034834
URL: http://svn.apache.org/viewvc?rev=1034834&view=rev
Log:
Updated links to examples
Modified:
httpcomponents/httpcore/trunk/src/site/apt/examples.apt
Modified: httpcomponents/httpcore/trunk/src/site/apt/examples.apt
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/src/site/apt/examples.apt?rev=1034834&r1=1034833&r2=1034834&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/src/site/apt/examples.apt (original)
+++ httpcomponents/httpcore/trunk/src/site/apt/examples.apt Sat Nov 13 18:26:06 2010
@@ -30,41 +30,34 @@
HttpCore Examples
- * {{{http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.0.x/httpcore/src/examples/org/apache/http/examples/ElementalHttpGet.java}Basic HTTP GET}}
+ * {{{./httpcore/examples/org/apache/http/examples/ElementalHttpGet.java}Basic HTTP GET}}
This example demonstrates how to execute a series of simple HTTP GET requests.
- * {{{http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.0.x/httpcore/src/examples/org/apache/http/examples/ElementalHttpPost.java}Basic HTTP POST}}
+ * {{{./httpcore/examples/org/apache/http/examples/ElementalHttpPost.java}Basic HTTP POST}}
This example demonstrates how to execute a series of simple HTTP POST requests that enclose entity
content of various types: a string, a byte array, an arbitrary input stream.
- * {{{http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.0.x/httpcore/src/examples/org/apache/http/examples/ElementalHttpServer.java}Basic HTTP server}}
+ * {{{./httpcore/examples/org/apache/http/examples/ElementalHttpServer.java}Basic HTTP server}}
This is an example of a simple but fully functional HTTP/1.1 server written with only a few dozen
lines of Java code.
- * {{{http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.0.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpServer.java}Basic non-blocking HTTP server}}
+ * {{{./httpcore-nio/examples/org/apache/http/examples/nio/NHttpServer.java}Basic non-blocking HTTP server}}
This example demonstrates the use of HttpCore NIO extensions to build a non-blocking HTTP/1.1 server.
- * {{{http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.0.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java}Basic non-blocking HTTP client}}
+ * {{{./httpcore-nio/examples/org/apache/http/examples/nio/NHttpClient.java}Basic non-blocking HTTP client}}
This example demonstrates how HttpCore NIO can be used to execute multiple HTTP requests using
only one I/O thread.
- * {{{http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.0.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpClientConnManagement.java}Management of non-blocking client connections}}
+ * {{{./httpcore-nio/examples/org/apache/http/examples/nio/NHttpClientConnManagement.java}Management of non-blocking client connections}}
This example demonstrates how to manage reuse of persistent client connections using HttpCore NIO.
- * {{{http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.0.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpSSLServer.java}Basic non-blocking HTTPS server}}
+ * {{{./httpcore-nio/examples/org/apache/http/examples/nio/NHttpSSLServer.java}Basic non-blocking HTTPS server}}
This example demonstrates the use of HttpCore NIO extensions to build a non-blocking HTTPS/1.1 server.
- * {{{http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.0.x/contrib/src/main/java/org/apache/http/contrib/compress/}Content compression}}
-
- These request/response interceptors implement client- and server-side content
- compression/decompression logic. They can simply be added to any existing HTTP processor to enable it for
- content compression. If you use an IoC container to initialize HTTP processors, you do not even
- have to recompile your application.
-