net.jxta.impl.protocol
Class ResolverResponse
java.lang.Object
|
+--net.jxta.protocol.ResolverResponseMsg
|
+--net.jxta.impl.protocol.ResolverResponse
- public class ResolverResponse
- extends net.jxta.protocol.ResolverResponseMsg
ResolverQuery provides the binding for the message to query other nodes
- Since:
- 1.0
Fields inherited from class net.jxta.protocol.ResolverResponseMsg |
queryid |
Constructor Summary |
ResolverResponse(java.io.InputStream stream)
Construct a doc from InputStream |
ResolverResponse(java.lang.String HandlerName,
java.lang.String CredentialServiceURI,
java.lang.String CredentialToken,
int QueryId,
java.lang.String Response)
Construct a doc from strings |
ResolverResponse(net.jxta.document.TextElement doc)
Construct from a StructuredDocument |
Method Summary |
net.jxta.document.Document |
getDocument(net.jxta.document.MimeMediaType asMimeType)
return a Document represetation of this object |
void |
readIt(net.jxta.document.TextElement doc)
|
java.lang.String |
toString()
return the string representaion of this doc |
Methods inherited from class net.jxta.protocol.ResolverResponseMsg |
getAdvertisementType,
getCredentialServieUri,
getCredentialToken,
getHandlerName,
getQueryId,
getResponse,
setCredentialServiceUri,
setCredentialToken,
setHandlerName,
setQueryId,
setResponse |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
ResolverResponse
public ResolverResponse(java.io.InputStream stream)
throws java.lang.Exception
- Construct a doc from InputStream
ResolverResponse
public ResolverResponse(net.jxta.document.TextElement doc)
- Construct from a StructuredDocument
ResolverResponse
public ResolverResponse(java.lang.String HandlerName,
java.lang.String CredentialServiceURI,
java.lang.String CredentialToken,
int QueryId,
java.lang.String Response)
- Construct a doc from strings
readIt
public void readIt(net.jxta.document.TextElement doc)
getDocument
public net.jxta.document.Document getDocument(net.jxta.document.MimeMediaType asMimeType)
throws java.lang.Exception
- return a Document represetation of this object
- Overrides:
- getDocument in class net.jxta.protocol.ResolverResponseMsg
- Parameters:
asMimeType
- type of message- Returns:
- document
toString
public java.lang.String toString()
- return the string representaion of this doc
- Overrides:
- toString in class java.lang.Object
- Returns:
- string representation of the message