Class DefaultExhibitorRestClient

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getRaw​(java.lang.String hostname, int port, java.lang.String uriPath, java.lang.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 java.lang.String getRaw​(java.lang.String hostname,
                                       int port,
                                       java.lang.String uriPath,
                                       java.lang.String mimeType)
                                throws java.lang.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:
        java.lang.Exception - errors