File: methods.html

package info (click to toggle)
commons-httpclient 3.1-16
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 19,352 kB
  • sloc: java: 30,282; xml: 855; makefile: 6
file content (77 lines) | stat: -rw-r--r-- 7,731 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>HttpClient - HttpClient Methods</title><style type="text/css" media="all">
          @import url("./style/maven-base.css");
          
          @import url("./style/maven-theme.css");@import url("./style/project.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta><meta name="author" content="Adrian Sutton"></meta><meta name="email" content="adrian@ephox.com"></meta></head><body class="composite"><div id="banner"><a href="http://jakarta.apache.org/" id="organizationLogo"><img alt="Apache Software Foundation" src="http://jakarta.apache.org/images/jakarta-logo.gif"></img></a><a href="http://jakarta.apache.org/httpcomponents/httpclient-3.x/" id="projectLogo"><img alt="HttpClient" src="./images/httpclient_logo.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">Last published: 18 August 2007
                <span class="separator">|</span>Doc for  3.1
                </div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuOverview"><h5>Overview</h5><ul><li class="none"><a href="features.html">Features</a></li><li class="none"><a href="news.html">News</a></li><li class="none"><a href="status.html">Status</a></li><li class="none"><a href="downloads.html">Download</a></li><li class="none"><a href="http://wiki.apache.org/jakarta-httpclient/" class="externalLink" title="External Link">Wiki</a></li><li class="expanded"><a href="userguide.html">User Guide</a><ul><li class="none"><a href="authentication.html">Authentication Guide</a></li><li class="none"><a href="charencodings.html">Character Encodings</a></li><li class="none"><a href="cookies.html">Cookies</a></li><li class="none"><a href="exception-handling.html">Exception Handling</a></li><li class="none"><a href="logging.html">Logging Guide</a></li><li class="none"><strong><a href="methods.html">Methods</a></strong></li><li class="none"><a href="performance.html">Optimization Guide</a></li><li class="none"><a href="preference-api.html">Preference Architecture</a></li><li class="none"><a href="redirects.html">Redirects Handling</a></li><li class="none"><a href="http://svn.apache.org/viewvc/jakarta/httpcomponents/oac.hc3x/trunk/src/examples/" class="externalLink" title="External Link">Sample Code</a></li><li class="none"><a href="sslguide.html">SSL Guide</a></li><li class="none"><a href="threading.html">Threading</a></li><li class="none"><a href="troubleshooting.html">Trouble Shooting</a></li><li class="none"><a href="tutorial.html">Tutorial</a></li></ul></li><li class="none"><a href="developerguide.html">Developer Guide</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><a href="index.html">About</a></li><li class="collapsed"><a href="project-info.html">Project Info</a></li><li class="collapsed"><a href="maven-reports.html">Project Reports</a></li><li class="none"><a href="development-process.html">Development Process</a></li></ul></div><div id="legend"><h5>Legend</h5><ul><li class="externalLink">External Link</li><li class="newWindow">Opens in a new window</li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/mavenlogo_builtby_w.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Introduction"></a><h2>Introduction</h2>
      <p>These documents provide a brief introduction to using the methods
        provided by <em>HttpClient</em>.  The information here does not cover all the
      possible options, but covers enough of the basics to get you up and
      running.  For more information on the available options, refer to the <a href="apidocs/index.html">API Reference</a>.</p>

      <p>The examples on the following pages are not complete and are only used
      to highlight the important features that are unique to each method.  For
      complete examples, please refer to the <a href="http://svn.apache.org/viewvc/jakarta/httpcomponents/oac.hc3x/trunk/src/examples/" class="externalLink" title="External Link">sample
      code</a>.</p>
    </div><div class="section"><a name="Overview"></a><h2>Overview</h2>
      <table class="bodyTable">
        <tr class="a">
          <th>Document</th>
          <th>Description</th>
        </tr>
        <tr class="b">
          <td><a href="methods/options.html">Options</a></td>
          <td>The OPTIONS method represents a request for information about the
          communication options available.</td>
        </tr>
        <tr class="a">
          <td><a href="methods/get.html">Get</a></td>
          <td>The GET method means retrieve whatever information is identified
          by the requested URL.  Also refer to the
          <a href="tutorial.html">tutorial</a>.</td>
        </tr>
        <tr class="b">
          <td><a href="methods/head.html">Head</a></td>
          <td>The HEAD method is identical to GET except that the server
          <i>must not</i> return a message-body in the response.  This method
          can be used for obtaining metainformation about the document implied
          by the request without transferring the document itself.</td>
        </tr>
        <tr class="a">
          <td><a href="methods/post.html">Post</a></td>
          <td>The POST method is used to request that the origin server accept
          the data enclosed in the request as a new child of the request URL.
          POST is designed to allow a uniform method to cover a variety of
          functions such as appending to a database, providing data to a
          data-handling process or posting to a message board.</td>
        </tr>
        <tr class="b">
          <td><a href="methods/multipartpost.html"><nobr>Multipart Post</nobr></a></td>
          <td>The multipart post method is identical to the POST method,
          except that the request body is separated into multiple parts.  This
          method is generally used when uploading files to the server.</td>
        </tr>
        <tr class="a">
          <td><a href="methods/put.html">Put</a></td>
          <td>The PUT method requests that the enclosed document be stored under
          the supplied URL.  This method is generally disabled on publicly
          available servers because it is generally undesireable to allow
          clients to put new files on the server or to replace existing
          files.</td>
        </tr>
        <tr class="b">
          <td><a href="methods/delete.html">Delete</a></td>
          <td>The DELETE method requests that the server delete the resource
          identified by the request URL.  This method is generally disabled on
          publicly available servers because it is generally undesireable to
          allow clients to delete files on the server.</td>
        </tr>
        <tr class="a">
          <td><a href="methods/trace.html">Trace</a></td>
          <td>The TRACE method is used to invoke a remote, application-layer
          loop-back of the request message.  This allows the client to see what
          is being received at the other end of the request chain and use that
          data for testing or diagnostic information.</td>
        </tr>
      </table>
    </div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright"> 2001-2007, Apache Software Foundation</div><div class="clear"><hr></hr></div></div></body></html>