Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > ee5115d1de8d9cf1c36a33cc4513700b > files > 545

mx4j-manual-3.0.1-9.mga4.noarch.rpm

<!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 (version 1.7.0_40) on Fri Oct 18 06:47:25 UTC 2013 -->
<title>HTTPConnection (MX4J API)</title>
<meta name="date" content="2013-10-18">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="HTTPConnection (MX4J API)";
    }
//-->
</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/HTTPConnection.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><a href="../../../../mx4j/tools/remote/http/HTTPClientInvoker.html" title="class in mx4j.tools.remote.http"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../mx4j/tools/remote/http/HTTPConnectionHandler.html" title="class in mx4j.tools.remote.http"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?mx4j/tools/remote/http/HTTPConnection.html" target="_top">Frames</a></li>
<li><a href="HTTPConnection.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>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&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">mx4j.tools.remote.http</div>
<h2 title="Interface HTTPConnection" class="title">Interface HTTPConnection</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Superinterfaces:</dt>
<dd><a href="../../../../mx4j/tools/remote/JMXConnection.html" title="interface in mx4j.tools.remote">JMXConnection</a></dd>
</dl>
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../../mx4j/tools/remote/caucho/burlap/BurlapClientInvoker.html" title="class in mx4j.tools.remote.caucho.burlap">BurlapClientInvoker</a>, <a href="../../../../mx4j/tools/remote/caucho/CauchoClientInvoker.html" title="class in mx4j.tools.remote.caucho">CauchoClientInvoker</a>, <a href="../../../../mx4j/tools/remote/caucho/CauchoService.html" title="class in mx4j.tools.remote.caucho">CauchoService</a>, <a href="../../../../mx4j/tools/remote/caucho/hessian/HessianClientInvoker.html" title="class in mx4j.tools.remote.caucho.hessian">HessianClientInvoker</a>, <a href="../../../../mx4j/tools/remote/http/HTTPClientInvoker.html" title="class in mx4j.tools.remote.http">HTTPClientInvoker</a>, <a href="../../../../mx4j/tools/remote/http/HTTPConnectionHandler.html" title="class in mx4j.tools.remote.http">HTTPConnectionHandler</a>, <a href="../../../../mx4j/tools/remote/http/HTTPServerInvoker.html" title="class in mx4j.tools.remote.http">HTTPServerInvoker</a>, <a href="../../../../mx4j/tools/remote/http/HTTPService.html" title="class in mx4j.tools.remote.http">HTTPService</a>, <a href="../../../../mx4j/tools/remote/soap/SOAPClientInvoker.html" title="class in mx4j.tools.remote.soap">SOAPClientInvoker</a>, <a href="../../../../mx4j/tools/remote/soap/SOAPService.html" title="class in mx4j.tools.remote.soap">SOAPService</a>, <a href="../../../../mx4j/tools/remote/soap/SSLSOAPService.html" title="class in mx4j.tools.remote.soap">SSLSOAPService</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="strong">HTTPConnection</span>
extends <a href="../../../../mx4j/tools/remote/JMXConnection.html" title="interface in mx4j.tools.remote">JMXConnection</a></pre>
<dl><dt><span class="strong">Version:</span></dt>
  <dd>$Revision: 1.3 $</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== 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>java.lang.Integer</code></td>
<td class="colLast"><code><strong><a href="../../../../mx4j/tools/remote/http/HTTPConnection.html#addNotificationListener(javax.management.ObjectName, java.lang.Object, javax.security.auth.Subject)">addNotificationListener</a></strong>(javax.management.ObjectName&nbsp;name,
                       java.lang.Object&nbsp;filter,
                       javax.security.auth.Subject&nbsp;delegate)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../mx4j/tools/remote/http/HTTPConnection.html#connect(java.lang.Object)">connect</a></strong>(java.lang.Object&nbsp;credentials)</code>
<div class="block">This method is called when a call initiated by <code>JMXConnector.connect()</code>
 arrives on server side.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>javax.management.remote.NotificationResult</code></td>
<td class="colLast"><code><strong><a href="../../../../mx4j/tools/remote/http/HTTPConnection.html#fetchNotifications(long, int, long)">fetchNotifications</a></strong>(long&nbsp;clientSequenceNumber,
                  int&nbsp;maxNotifications,
                  long&nbsp;timeout)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../mx4j/tools/remote/http/HTTPConnection.html#removeNotificationListeners(javax.management.ObjectName, java.lang.Integer[], javax.security.auth.Subject)">removeNotificationListeners</a></strong>(javax.management.ObjectName&nbsp;name,
                           java.lang.Integer[]&nbsp;listenerIDs,
                           javax.security.auth.Subject&nbsp;delegate)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_mx4j.tools.remote.JMXConnection">
<!--   -->
</a>
<h3>Methods inherited from interface&nbsp;mx4j.tools.remote.<a href="../../../../mx4j/tools/remote/JMXConnection.html" title="interface in mx4j.tools.remote">JMXConnection</a></h3>
<code><a href="../../../../mx4j/tools/remote/JMXConnection.html#addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.lang.Object, java.lang.Object, javax.security.auth.Subject)">addNotificationListener</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#close()">close</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#createMBean(java.lang.String, javax.management.ObjectName, javax.management.ObjectName, java.lang.Object, java.lang.String[], javax.security.auth.Subject)">createMBean</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#createMBean(java.lang.String, javax.management.ObjectName, java.lang.Object, java.lang.String[], javax.security.auth.Subject)">createMBean</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#getAttribute(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject)">getAttribute</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#getAttributes(javax.management.ObjectName, java.lang.String[], javax.security.auth.Subject)">getAttributes</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#getDefaultDomain(javax.security.auth.Subject)">getDefaultDomain</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#getDomains(javax.security.auth.Subject)">getDomains</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#getMBeanCount(javax.security.auth.Subject)">getMBeanCount</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#getMBeanInfo(javax.management.ObjectName, javax.security.auth.Subject)">getMBeanInfo</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#getObjectInstance(javax.management.ObjectName, javax.security.auth.Subject)">getObjectInstance</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#invoke(javax.management.ObjectName, java.lang.String, java.lang.Object, java.lang.String[], javax.security.auth.Subject)">invoke</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#isInstanceOf(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject)">isInstanceOf</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#isRegistered(javax.management.ObjectName, javax.security.auth.Subject)">isRegistered</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#queryMBeans(javax.management.ObjectName, java.lang.Object, javax.security.auth.Subject)">queryMBeans</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#queryNames(javax.management.ObjectName, java.lang.Object, javax.security.auth.Subject)">queryNames</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.lang.Object, java.lang.Object, javax.security.auth.Subject)">removeNotificationListener</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#removeNotificationListener(javax.management.ObjectName, javax.management.ObjectName, javax.security.auth.Subject)">removeNotificationListener</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#setAttribute(javax.management.ObjectName, java.lang.Object, javax.security.auth.Subject)">setAttribute</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#setAttributes(javax.management.ObjectName, java.lang.Object, javax.security.auth.Subject)">setAttributes</a>, <a href="../../../../mx4j/tools/remote/JMXConnection.html#unregisterMBean(javax.management.ObjectName, javax.security.auth.Subject)">unregisterMBean</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="connect(java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connect</h4>
<pre>java.lang.String&nbsp;connect(java.lang.Object&nbsp;credentials)
                         throws java.io.IOException,
                                java.lang.SecurityException</pre>
<div class="block">This method is called when a call initiated by <code>JMXConnector.connect()</code>
 arrives on server side. For HTTP connections, the socket is handled by the web container, but
 the remote procedure call that arrives along with the HTTP request is parsed and then (normally)
 forwarded to a JavaBean (that will implement this interface).
 Implementations of this method will normally call <a href="../../../../mx4j/tools/remote/ConnectionManager.html#connect(java.lang.Object)"><code>ConnectionManager.connect(java.lang.Object)</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>credentials</code> - The credential for authentication</dd>
<dt><span class="strong">Returns:</span></dt><dd>The connection id for the newly created connection</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code> - If a communication problem occurs</dd>
<dd><code>java.lang.SecurityException</code> - If the authentication fails</dd></dl>
</li>
</ul>
<a name="addNotificationListener(javax.management.ObjectName, java.lang.Object, javax.security.auth.Subject)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addNotificationListener</h4>
<pre>java.lang.Integer&nbsp;addNotificationListener(javax.management.ObjectName&nbsp;name,
                                        java.lang.Object&nbsp;filter,
                                        javax.security.auth.Subject&nbsp;delegate)
                                          throws javax.management.InstanceNotFoundException,
                                                 java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>javax.management.InstanceNotFoundException</code></dd>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="removeNotificationListeners(javax.management.ObjectName, java.lang.Integer[], javax.security.auth.Subject)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeNotificationListeners</h4>
<pre>void&nbsp;removeNotificationListeners(javax.management.ObjectName&nbsp;name,
                               java.lang.Integer[]&nbsp;listenerIDs,
                               javax.security.auth.Subject&nbsp;delegate)
                                 throws javax.management.InstanceNotFoundException,
                                        javax.management.ListenerNotFoundException,
                                        java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>javax.management.InstanceNotFoundException</code></dd>
<dd><code>javax.management.ListenerNotFoundException</code></dd>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="fetchNotifications(long, int, long)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>fetchNotifications</h4>
<pre>javax.management.remote.NotificationResult&nbsp;fetchNotifications(long&nbsp;clientSequenceNumber,
                                                            int&nbsp;maxNotifications,
                                                            long&nbsp;timeout)
                                                              throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</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/HTTPConnection.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><a href="../../../../mx4j/tools/remote/http/HTTPClientInvoker.html" title="class in mx4j.tools.remote.http"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../mx4j/tools/remote/http/HTTPConnectionHandler.html" title="class in mx4j.tools.remote.http"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?mx4j/tools/remote/http/HTTPConnection.html" target="_top">Frames</a></li>
<li><a href="HTTPConnection.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>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&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><center><small>Copyright &#169; 2001-2005 The MX4J Contributors. All Rights Reserved.</small></center></small></p>
</body>
</html>