home | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (preface.xml)

This example source code file (preface.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java tags/keywords

although, apache, asf, http, httpclient, hyper-text, internet, license, not, of, see, the, version, you

The preface.xml example source code

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE preface PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
                 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
<!-- 
   ====================================================================
   Licensed to the Apache Software Foundation (ASF) under one
   or more contributor license agreements.  See the NOTICE file
   distributed with this work for additional information
   regarding copyright ownership.  The ASF licenses this file
   to you under the Apache License, Version 2.0 (the
   "License"); you may not use this file except in compliance
   with the License.  You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing,
   software distributed under the License is distributed on an
   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   KIND, either express or implied.  See the License for the
   specific language governing permissions and limitations
   under the License.
   ====================================================================

-->
<preface id="preface">
    <title>Preface
    <para>
    The Hyper-Text Transfer Protocol (HTTP) is perhaps the most significant protocol used on the 
    Internet today. Web services, network-enabled appliances and the growth of network computing 
    continue to expand the role of the HTTP protocol beyond user-driven web browsers, while 
    increasing the number of applications that require HTTP support.
    </para>
    <para>
    Although the java.net package provides basic functionality for accessing resources via HTTP, 
    it doesn't provide the full flexibility or functionality needed by many applications. 
    HttpClient seeks to fill this void by providing an efficient, up-to-date, and feature-rich 
    package implementing the client side of the most recent HTTP standards and recommendations.
    </para>
    <para>
    Designed for extension while providing robust support for the base HTTP protocol, HttpClient 
    may be of interest to anyone building HTTP-aware client applications such as web browsers, web 
    service clients, or systems that leverage or extend the HTTP protocol for distributed 
    communication.
    </para>
    <section>
        <title>HttpClient scope
        <itemizedlist>
            <listitem>
                <para>
                    Client-side HTTP transport library based on <ulink 
                        url="http://hc.apache.org/httpcomponents-core/index.html">HttpCore</ulink>
                </para>
            </listitem>
            <listitem>
                <para>
                Based on classic (blocking) I/O
                </para>
            </listitem>
            <listitem>
                <para>
                Content agnostic 
                </para>
            </listitem>
        </itemizedlist>
    </section>
    <section>
        <title>What HttpClient is NOT
        <itemizedlist>
            <listitem>
                <para>
                HttpClient is NOT a browser. It is a client side HTTP transport library. 
                HttpClient's purpose is to transmit and receive HTTP messages. HttpClient will not 
                attempt to cache content, execute javascript embedded in HTML pages, try to guess 
                content type, or reformat request / redirect location URIs, or other functionality
                unrelated to the HTTP transport.
                </para>
            </listitem>
        </itemizedlist>
    </section>

</preface>

Other Java examples (source code examples)

Here is a short list of links related to this Java preface.xml source code file:



my book on functional programming

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.