blob: cb1158addeebbfe163cf6db24ca421517546868f [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.7.0_251) on Sat May 02 18:30:34 PDT 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Client (Trafodion REST 2.4.0 API)</title>
<meta name="date" content="2020-05-02">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Client (Trafodion REST 2.4.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Client.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/trafodion/rest/client/Client.html" target="_top">Frames</a></li>
<li><a href="Client.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.trafodion.rest.client</div>
<h2 title="Class Client" class="title">Class Client</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.trafodion.rest.client.Client</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">Client</span>
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">A wrapper around HttpClient which provides some useful function and
semantics for interacting with the REST gateway.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.apache.commons.httpclient.Header[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#EMPTY_HEADER_ARRAY">EMPTY_HEADER_ARRAY</a></strong></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#Client()">Client</a></strong>()</code>
<div class="block">Default Constructor</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#Client(org.trafodion.rest.client.Cluster)">Client</a></strong>(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster)</code>
<div class="block">Constructor</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#addExtraHeader(java.lang.String,%20java.lang.String)">addExtraHeader</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</code>
<div class="block">Add extra headers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#delete(org.trafodion.rest.client.Cluster,%20java.lang.String)">delete</a></strong>(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)</code>
<div class="block">Send a DELETE request</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#delete(java.lang.String)">delete</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)</code>
<div class="block">Send a DELETE request</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#execute(org.trafodion.rest.client.Cluster,%20org.apache.commons.httpclient.HttpMethod,%20org.apache.commons.httpclient.Header[],%20java.lang.String)">execute</a></strong>(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
org.apache.commons.httpclient.HttpMethod&nbsp;method,
org.apache.commons.httpclient.Header[]&nbsp;headers,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)</code>
<div class="block">Execute a transaction method.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#executePathOnly(org.trafodion.rest.client.Cluster,%20org.apache.commons.httpclient.HttpMethod,%20org.apache.commons.httpclient.Header[],%20java.lang.String)">executePathOnly</a></strong>(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
org.apache.commons.httpclient.HttpMethod&nbsp;method,
org.apache.commons.httpclient.Header[]&nbsp;headers,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)</code>
<div class="block">Execute a transaction method given only the path.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#executeURI(org.apache.commons.httpclient.HttpMethod,%20org.apache.commons.httpclient.Header[],%20java.lang.String)">executeURI</a></strong>(org.apache.commons.httpclient.HttpMethod&nbsp;method,
org.apache.commons.httpclient.Header[]&nbsp;headers,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;uri)</code>
<div class="block">Execute a transaction method given a complete URI.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#get(org.trafodion.rest.client.Cluster,%20java.lang.String)">get</a></strong>(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)</code>
<div class="block">Send a GET request</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#get(org.trafodion.rest.client.Cluster,%20java.lang.String,%20org.apache.commons.httpclient.Header[])">get</a></strong>(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;c,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
org.apache.commons.httpclient.Header[]&nbsp;headers)</code>
<div class="block">Send a GET request</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#get(org.trafodion.rest.client.Cluster,%20java.lang.String,%20java.lang.String)">get</a></strong>(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;accept)</code>
<div class="block">Send a GET request</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#get(java.lang.String)">get</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)</code>
<div class="block">Send a GET request</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#get(java.lang.String,%20org.apache.commons.httpclient.Header[])">get</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
org.apache.commons.httpclient.Header[]&nbsp;headers)</code>
<div class="block">Send a GET request</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#get(java.lang.String,%20java.lang.String)">get</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;accept)</code>
<div class="block">Send a GET request</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#getCluster()">getCluster</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#getExtraHeader(java.lang.String)">getExtraHeader</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Get an extra header value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#getExtraHeaders()">getExtraHeaders</a></strong>()</code>
<div class="block">Get all extra headers (read-only).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>org.apache.commons.httpclient.HttpClient</code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#getHttpClient()">getHttpClient</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#head(org.trafodion.rest.client.Cluster,%20java.lang.String,%20org.apache.commons.httpclient.Header[])">head</a></strong>(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
org.apache.commons.httpclient.Header[]&nbsp;headers)</code>
<div class="block">Send a HEAD request</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#head(java.lang.String)">head</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)</code>
<div class="block">Send a HEAD request</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#post(org.trafodion.rest.client.Cluster,%20java.lang.String,%20org.apache.commons.httpclient.Header[],%20byte[])">post</a></strong>(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
org.apache.commons.httpclient.Header[]&nbsp;headers,
byte[]&nbsp;content)</code>
<div class="block">Send a POST request</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#post(org.trafodion.rest.client.Cluster,%20java.lang.String,%20java.lang.String,%20byte[])">post</a></strong>(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contentType,
byte[]&nbsp;content)</code>
<div class="block">Send a POST request</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#post(java.lang.String,%20org.apache.commons.httpclient.Header[],%20byte[])">post</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
org.apache.commons.httpclient.Header[]&nbsp;headers,
byte[]&nbsp;content)</code>
<div class="block">Send a POST request</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#post(java.lang.String,%20java.lang.String,%20byte[])">post</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contentType,
byte[]&nbsp;content)</code>
<div class="block">Send a POST request</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#put(org.trafodion.rest.client.Cluster,%20java.lang.String,%20org.apache.commons.httpclient.Header[],%20byte[])">put</a></strong>(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
org.apache.commons.httpclient.Header[]&nbsp;headers,
byte[]&nbsp;content)</code>
<div class="block">Send a PUT request</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#put(org.trafodion.rest.client.Cluster,%20java.lang.String,%20java.lang.String,%20byte[])">put</a></strong>(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contentType,
byte[]&nbsp;content)</code>
<div class="block">Send a PUT request</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#put(java.lang.String,%20org.apache.commons.httpclient.Header[],%20byte[])">put</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
org.apache.commons.httpclient.Header[]&nbsp;headers,
byte[]&nbsp;content)</code>
<div class="block">Send a PUT request</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#put(java.lang.String,%20java.lang.String,%20byte[])">put</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contentType,
byte[]&nbsp;content)</code>
<div class="block">Send a PUT request</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#removeExtraHeader(java.lang.String)">removeExtraHeader</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Remove an extra header.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#setCluster(org.trafodion.rest.client.Cluster)">setCluster</a></strong>(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/trafodion/rest/client/Client.html#shutdown()">shutdown</a></strong>()</code>
<div class="block">Shut down the client.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="EMPTY_HEADER_ARRAY">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>EMPTY_HEADER_ARRAY</h4>
<pre>public static final&nbsp;org.apache.commons.httpclient.Header[] EMPTY_HEADER_ARRAY</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Client()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Client</h4>
<pre>public&nbsp;Client()</pre>
<div class="block">Default Constructor</div>
</li>
</ul>
<a name="Client(org.trafodion.rest.client.Cluster)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Client</h4>
<pre>public&nbsp;Client(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster)</pre>
<div class="block">Constructor</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cluster</code> - the cluster definition</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="shutdown()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shutdown</h4>
<pre>public&nbsp;void&nbsp;shutdown()</pre>
<div class="block">Shut down the client. Close any open persistent connections.</div>
</li>
</ul>
<a name="getHttpClient()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHttpClient</h4>
<pre>public&nbsp;org.apache.commons.httpclient.HttpClient&nbsp;getHttpClient()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the wrapped HttpClient</dd></dl>
</li>
</ul>
<a name="addExtraHeader(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addExtraHeader</h4>
<pre>public&nbsp;void&nbsp;addExtraHeader(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</pre>
<div class="block">Add extra headers. These extra headers will be applied to all http
methods before they are removed. If any header is not used any more,
client needs to remove it explicitly.</div>
</li>
</ul>
<a name="getExtraHeader(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExtraHeader</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getExtraHeader(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Get an extra header value.</div>
</li>
</ul>
<a name="getExtraHeaders()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExtraHeaders</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;getExtraHeaders()</pre>
<div class="block">Get all extra headers (read-only).</div>
</li>
</ul>
<a name="removeExtraHeader(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeExtraHeader</h4>
<pre>public&nbsp;void&nbsp;removeExtraHeader(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Remove an extra header.</div>
</li>
</ul>
<a name="executePathOnly(org.trafodion.rest.client.Cluster, org.apache.commons.httpclient.HttpMethod, org.apache.commons.httpclient.Header[], java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executePathOnly</h4>
<pre>public&nbsp;int&nbsp;executePathOnly(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
org.apache.commons.httpclient.HttpMethod&nbsp;method,
org.apache.commons.httpclient.Header[]&nbsp;headers,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Execute a transaction method given only the path. Will select at random
one of the members of the supplied cluster definition and iterate through
the list until a transaction can be successfully completed. The
definition of success here is a complete HTTP transaction, irrespective
of result code.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cluster</code> - the cluster definition</dd><dd><code>method</code> - the transaction method</dd><dd><code>headers</code> - HTTP header values to send</dd><dd><code>path</code> - the properly urlencoded path</dd>
<dt><span class="strong">Returns:</span></dt><dd>the HTTP response code</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="executeURI(org.apache.commons.httpclient.HttpMethod, org.apache.commons.httpclient.Header[], java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeURI</h4>
<pre>public&nbsp;int&nbsp;executeURI(org.apache.commons.httpclient.HttpMethod&nbsp;method,
org.apache.commons.httpclient.Header[]&nbsp;headers,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;uri)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Execute a transaction method given a complete URI.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>method</code> - the transaction method</dd><dd><code>headers</code> - HTTP header values to send</dd><dd><code>uri</code> - a properly urlencoded URI</dd>
<dt><span class="strong">Returns:</span></dt><dd>the HTTP response code</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="execute(org.trafodion.rest.client.Cluster, org.apache.commons.httpclient.HttpMethod, org.apache.commons.httpclient.Header[], java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>public&nbsp;int&nbsp;execute(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
org.apache.commons.httpclient.HttpMethod&nbsp;method,
org.apache.commons.httpclient.Header[]&nbsp;headers,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Execute a transaction method. Will call either <tt>executePathOnly</tt>
or <tt>executeURI</tt> depending on whether a path only is supplied in
'path', or if a complete URI is passed instead, respectively.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cluster</code> - the cluster definition</dd><dd><code>method</code> - the HTTP method</dd><dd><code>headers</code> - HTTP header values to send</dd><dd><code>path</code> - the properly urlencoded path or URI</dd>
<dt><span class="strong">Returns:</span></dt><dd>the HTTP response code</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="getCluster()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCluster</h4>
<pre>public&nbsp;<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;getCluster()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the cluster definition</dd></dl>
</li>
</ul>
<a name="setCluster(org.trafodion.rest.client.Cluster)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCluster</h4>
<pre>public&nbsp;void&nbsp;setCluster(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cluster</code> - the cluster definition</dd></dl>
</li>
</ul>
<a name="head(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>head</h4>
<pre>public&nbsp;<a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a>&nbsp;head(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Send a HEAD request</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - the path or URI</dd>
<dt><span class="strong">Returns:</span></dt><dd>a Response object with response detail</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="head(org.trafodion.rest.client.Cluster, java.lang.String, org.apache.commons.httpclient.Header[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>head</h4>
<pre>public&nbsp;<a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a>&nbsp;head(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
org.apache.commons.httpclient.Header[]&nbsp;headers)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Send a HEAD request</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cluster</code> - the cluster definition</dd><dd><code>path</code> - the path or URI</dd><dd><code>headers</code> - the HTTP headers to include in the request</dd>
<dt><span class="strong">Returns:</span></dt><dd>a Response object with response detail</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="get(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;<a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a>&nbsp;get(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Send a GET request</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - the path or URI</dd>
<dt><span class="strong">Returns:</span></dt><dd>a Response object with response detail</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="get(org.trafodion.rest.client.Cluster, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;<a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a>&nbsp;get(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Send a GET request</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cluster</code> - the cluster definition</dd><dd><code>path</code> - the path or URI</dd>
<dt><span class="strong">Returns:</span></dt><dd>a Response object with response detail</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="get(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;<a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a>&nbsp;get(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;accept)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Send a GET request</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - the path or URI</dd><dd><code>accept</code> - Accept header value</dd>
<dt><span class="strong">Returns:</span></dt><dd>a Response object with response detail</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="get(org.trafodion.rest.client.Cluster, java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;<a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a>&nbsp;get(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;accept)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Send a GET request</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cluster</code> - the cluster definition</dd><dd><code>path</code> - the path or URI</dd><dd><code>accept</code> - Accept header value</dd>
<dt><span class="strong">Returns:</span></dt><dd>a Response object with response detail</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="get(java.lang.String, org.apache.commons.httpclient.Header[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;<a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a>&nbsp;get(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
org.apache.commons.httpclient.Header[]&nbsp;headers)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Send a GET request</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - the path or URI</dd><dd><code>headers</code> - the HTTP headers to include in the request,
<tt>Accept</tt> must be supplied</dd>
<dt><span class="strong">Returns:</span></dt><dd>a Response object with response detail</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="get(org.trafodion.rest.client.Cluster, java.lang.String, org.apache.commons.httpclient.Header[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;<a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a>&nbsp;get(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;c,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
org.apache.commons.httpclient.Header[]&nbsp;headers)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Send a GET request</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>c</code> - the cluster definition</dd><dd><code>path</code> - the path or URI</dd><dd><code>headers</code> - the HTTP headers to include in the request</dd>
<dt><span class="strong">Returns:</span></dt><dd>a Response object with response detail</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="put(java.lang.String, java.lang.String, byte[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public&nbsp;<a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a>&nbsp;put(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contentType,
byte[]&nbsp;content)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Send a PUT request</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - the path or URI</dd><dd><code>contentType</code> - the content MIME type</dd><dd><code>content</code> - the content bytes</dd>
<dt><span class="strong">Returns:</span></dt><dd>a Response object with response detail</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="put(org.trafodion.rest.client.Cluster, java.lang.String, java.lang.String, byte[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public&nbsp;<a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a>&nbsp;put(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contentType,
byte[]&nbsp;content)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Send a PUT request</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cluster</code> - the cluster definition</dd><dd><code>path</code> - the path or URI</dd><dd><code>contentType</code> - the content MIME type</dd><dd><code>content</code> - the content bytes</dd>
<dt><span class="strong">Returns:</span></dt><dd>a Response object with response detail</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="put(java.lang.String, org.apache.commons.httpclient.Header[], byte[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public&nbsp;<a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a>&nbsp;put(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
org.apache.commons.httpclient.Header[]&nbsp;headers,
byte[]&nbsp;content)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Send a PUT request</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - the path or URI</dd><dd><code>headers</code> - the HTTP headers to include, <tt>Content-Type</tt> must be
supplied</dd><dd><code>content</code> - the content bytes</dd>
<dt><span class="strong">Returns:</span></dt><dd>a Response object with response detail</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="put(org.trafodion.rest.client.Cluster, java.lang.String, org.apache.commons.httpclient.Header[], byte[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public&nbsp;<a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a>&nbsp;put(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
org.apache.commons.httpclient.Header[]&nbsp;headers,
byte[]&nbsp;content)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Send a PUT request</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cluster</code> - the cluster definition</dd><dd><code>path</code> - the path or URI</dd><dd><code>headers</code> - the HTTP headers to include, <tt>Content-Type</tt> must be
supplied</dd><dd><code>content</code> - the content bytes</dd>
<dt><span class="strong">Returns:</span></dt><dd>a Response object with response detail</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="post(java.lang.String, java.lang.String, byte[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>post</h4>
<pre>public&nbsp;<a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a>&nbsp;post(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contentType,
byte[]&nbsp;content)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Send a POST request</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - the path or URI</dd><dd><code>contentType</code> - the content MIME type</dd><dd><code>content</code> - the content bytes</dd>
<dt><span class="strong">Returns:</span></dt><dd>a Response object with response detail</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="post(org.trafodion.rest.client.Cluster, java.lang.String, java.lang.String, byte[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>post</h4>
<pre>public&nbsp;<a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a>&nbsp;post(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contentType,
byte[]&nbsp;content)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Send a POST request</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cluster</code> - the cluster definition</dd><dd><code>path</code> - the path or URI</dd><dd><code>contentType</code> - the content MIME type</dd><dd><code>content</code> - the content bytes</dd>
<dt><span class="strong">Returns:</span></dt><dd>a Response object with response detail</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="post(java.lang.String, org.apache.commons.httpclient.Header[], byte[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>post</h4>
<pre>public&nbsp;<a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a>&nbsp;post(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
org.apache.commons.httpclient.Header[]&nbsp;headers,
byte[]&nbsp;content)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Send a POST request</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - the path or URI</dd><dd><code>headers</code> - the HTTP headers to include, <tt>Content-Type</tt> must be
supplied</dd><dd><code>content</code> - the content bytes</dd>
<dt><span class="strong">Returns:</span></dt><dd>a Response object with response detail</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="post(org.trafodion.rest.client.Cluster, java.lang.String, org.apache.commons.httpclient.Header[], byte[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>post</h4>
<pre>public&nbsp;<a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a>&nbsp;post(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
org.apache.commons.httpclient.Header[]&nbsp;headers,
byte[]&nbsp;content)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Send a POST request</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cluster</code> - the cluster definition</dd><dd><code>path</code> - the path or URI</dd><dd><code>headers</code> - the HTTP headers to include, <tt>Content-Type</tt> must be
supplied</dd><dd><code>content</code> - the content bytes</dd>
<dt><span class="strong">Returns:</span></dt><dd>a Response object with response detail</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="delete(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>delete</h4>
<pre>public&nbsp;<a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a>&nbsp;delete(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Send a DELETE request</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - the path or URI</dd>
<dt><span class="strong">Returns:</span></dt><dd>a Response object with response detail</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="delete(org.trafodion.rest.client.Cluster, java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>delete</h4>
<pre>public&nbsp;<a href="../../../../org/trafodion/rest/client/Response.html" title="class in org.trafodion.rest.client">Response</a>&nbsp;delete(<a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client">Cluster</a>&nbsp;cluster,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Send a DELETE request</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cluster</code> - the cluster definition</dd><dd><code>path</code> - the path or URI</dd>
<dt><span class="strong">Returns:</span></dt><dd>a Response object with response detail</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Client.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../../org/trafodion/rest/client/Cluster.html" title="class in org.trafodion.rest.client"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/trafodion/rest/client/Client.html" target="_top">Frames</a></li>
<li><a href="Client.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2020. All rights reserved.</small></p>
</body>
</html>