org.apache.curator.ensemble.exhibitor
Class DefaultExhibitorRestClient

java.lang.Object
  extended by org.apache.curator.ensemble.exhibitor.DefaultExhibitorRestClient
All Implemented Interfaces:
ExhibitorRestClient

public class DefaultExhibitorRestClient
extends Object
implements ExhibitorRestClient


Constructor Summary
DefaultExhibitorRestClient()
           
DefaultExhibitorRestClient(boolean useSsl)
           
 
Method Summary
 String getRaw(String hostname, int port, String uriPath, String mimeType)
          Connect to the given Exhibitor and return the raw result
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExhibitorRestClient

public DefaultExhibitorRestClient()

DefaultExhibitorRestClient

public DefaultExhibitorRestClient(boolean useSsl)
Method Detail

getRaw

public String getRaw(String hostname,
                     int port,
                     String uriPath,
                     String mimeType)
              throws Exception
Description copied from interface: ExhibitorRestClient
Connect to the given Exhibitor and return the raw result

Specified by:
getRaw in interface ExhibitorRestClient
Parameters:
hostname - host to connect to
port - connect port
uriPath - path
mimeType - Accept mime type
Returns:
raw result
Throws:
Exception - errors


Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.