⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 resolverquery.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;returns the this doc as string</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_net.jxta.protocol.ResolverQueryMsg"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class net.jxta.protocol.<A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html#getAdvertisementType()">getAdvertisementType</A>, <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html#getCredential()">getCredential</A>, <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html#getHandlerName()">getHandlerName</A>, <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html#getHopCount()">getHopCount</A>, <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html#getQuery()">getQuery</A>, <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html#getQueryId()">getQueryId</A>, <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html#getSrc()">getSrc</A>, <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html#getSrcPeerRoute()">getSrcPeerRoute</A>, <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html#incrementHopCount()">incrementHopCount</A>, <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html#setCredential(net.jxta.document.StructuredDocument)">setCredential</A>, <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html#setHandlerName(java.lang.String)">setHandlerName</A>, <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html#setQuery(java.lang.String)">setQuery</A>, <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html#setQueryId(int)">setQueryId</A>, <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html#setSrc(java.lang.String)">setSrc</A>, <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html#setSrcPeerRoute(net.jxta.protocol.RouteAdvertisement)">setSrcPeerRoute</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="ResolverQuery()"><!-- --></A><H3>ResolverQuery</H3><PRE>public <B>ResolverQuery</B>()</PRE><DL></DL><HR><A NAME="ResolverQuery(java.io.InputStream)"><!-- --></A><H3>ResolverQuery</H3><PRE>public <B>ResolverQuery</B>(java.io.InputStream&nbsp;stream)              throws java.io.IOException</PRE><DL><DD>Construct a doc from InputStream<P><DT><B>Parameters:</B><DD><CODE>stream</CODE> - <DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL><HR><A NAME="ResolverQuery(net.jxta.document.TextElement)"><!-- --></A><H3>ResolverQuery</H3><PRE>public <B>ResolverQuery</B>(<A HREF="../../../../net/jxta/document/TextElement.html" title="interface in net.jxta.document">TextElement</A>&nbsp;doc)</PRE><DL><DD>Construct from a StructuredDocument<P><DT><B>Parameters:</B><DD><CODE>doc</CODE> - </DL><HR><A NAME="ResolverQuery(java.lang.String, net.jxta.document.StructuredDocument, java.lang.String, java.lang.String, int)"><!-- --></A><H3>ResolverQuery</H3><PRE>public <B>ResolverQuery</B>(java.lang.String&nbsp;HandlerName,                     <A HREF="../../../../net/jxta/document/StructuredDocument.html" title="interface in net.jxta.document">StructuredDocument</A>&nbsp;Credential,                     java.lang.String&nbsp;pId,                     java.lang.String&nbsp;Query,                     int&nbsp;qid)</PRE><DL><DD>Construct a doc from strings<P><DT><B>Parameters:</B><DD><CODE>HandlerName</CODE> - <DD><CODE>Credential</CODE> - <DD><CODE>pId</CODE> - <DD><CODE>Query</CODE> - <DD><CODE>qid</CODE> - </DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="readIt(net.jxta.document.TextElement)"><!-- --></A><H3>readIt</H3><PRE>public void <B>readIt</B>(<A HREF="../../../../net/jxta/document/TextElement.html" title="interface in net.jxta.document">TextElement</A>&nbsp;doc)</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>doc</CODE> - </DL></DD></DL><HR><A NAME="getDocument(net.jxta.document.MimeMediaType)"><!-- --></A><H3>getDocument</H3><PRE>public <A HREF="../../../../net/jxta/document/Document.html" title="interface in net.jxta.document">Document</A> <B>getDocument</B>(<A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A>&nbsp;encodeAs)</PRE><DL><DD>Write advertisement into a document. asMimeType is a mime media-type  specification and provides the form of the document which is being  requested. Two standard document forms are defined. 'text/text' encodes  the document in a form nice for printing out and 'text/xml' which  provides an XML format.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html#getDocument(net.jxta.document.MimeMediaType)">getDocument</A></CODE> in class <CODE><A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>encodeAs</CODE> - mime-type requested representation for the returned      document<DT><B>Returns:</B><DD>Document document representing the advertisement</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>returns the this doc as string<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>String representation of the of this message.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()</PRE><DL><DD>  Returns a clone of this object.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the cloned object</DL></DD></DL><HR><A NAME="makeResponse()"><!-- --></A><H3>makeResponse</H3><PRE>public <A HREF="../../../../net/jxta/protocol/ResolverResponseMsg.html" title="class in net.jxta.protocol">ResolverResponseMsg</A> <B>makeResponse</B>()</PRE><DL><DD>Create a ResolverResponse from a ResolverQuery message. This method takes advantage of any internal information available in an incoming Resolver query to build a resolver response for that query. For instance, optional route information which may be available in the query will be used to bypass the route resolution to send the response.  WARNING: A side effect of this call is that the following fields are          transfered from the query to the response:            - HandlerName            - QueryId<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html#makeResponse()">makeResponse</A></CODE> in class <CODE><A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>ResolverResponse Msg</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ResolverQuery.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>JXTA J2SE</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../net/jxta/impl/protocol/RdvAdv.Instantiator.html" title="class in net.jxta.impl.protocol"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../net/jxta/impl/protocol/ResolverResponse.html" title="class in net.jxta.impl.protocol"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ResolverQuery.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_net.jxta.protocol.ResolverQueryMsg">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -