net.jxta.search.peer
Class HttpResolverClient

java.lang.Object
  |
  +--net.jxta.search.peer.HttpResolverClient
All Implemented Interfaces:
ResolverClient

public class HttpResolverClient
extends java.lang.Object
implements ResolverClient


Constructor Summary
HttpResolverClient(java.net.URL url, net.jxta.search.util.LogService log)
           
 
Method Summary
 void deleteRoutes(java.net.URL[] routes, java.lang.String[] ids, java.lang.String[] reasons)
           
static void main(java.lang.String[] argv)
           
 ProviderInfo[] resolve(Request request)
           
static void test(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpResolverClient

public HttpResolverClient(java.net.URL url,
                          net.jxta.search.util.LogService log)
Method Detail

resolve

public ProviderInfo[] resolve(Request request)
                       throws java.io.IOException,
                              net.jxta.search.util.XmlParser.Exception
Specified by:
resolve in interface ResolverClient
Following copied from interface: net.jxta.search.peer.ResolverClient
Throws:
java.io.IOException - if an error occurred while communicating with the resolver.
SAXException - if an error occurred while parsing the resolver's response.

deleteRoutes

public void deleteRoutes(java.net.URL[] routes,
                         java.lang.String[] ids,
                         java.lang.String[] reasons)
Specified by:
deleteRoutes in interface ResolverClient

main

public static void main(java.lang.String[] argv)
                 throws java.io.IOException,
                        net.jxta.search.util.XmlParser.Exception

test

public static void test(java.lang.String[] argv)
                 throws java.io.IOException,
                        net.jxta.search.util.XmlParser.Exception