org.apache.curator.ensemble.exhibitor
Class DefaultExhibitorRestClient
java.lang.Object
org.apache.curator.ensemble.exhibitor.DefaultExhibitorRestClient
- All Implemented Interfaces:
- ExhibitorRestClient
public class DefaultExhibitorRestClient
- extends Object
- implements ExhibitorRestClient
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultExhibitorRestClient
public DefaultExhibitorRestClient()
DefaultExhibitorRestClient
public DefaultExhibitorRestClient(boolean useSsl)
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 toport - connect porturiPath - pathmimeType - Accept mime type
- Returns:
- raw result
- Throws:
Exception - errors
Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.