Class GetQuery


  • public class GetQuery
    extends Query<java.lang.Object>
    Executes an HTTP GET operation.
    • Constructor Detail

      • GetQuery

        public GetQuery​(java.lang.String hostname,
                        java.lang.String path)
      • GetQuery

        public GetQuery​(java.lang.String hostname,
                        int port,
                        java.lang.String path,
                        boolean secure)
      • GetQuery

        public GetQuery​(java.lang.String hostname,
                        int port,
                        java.lang.String path,
                        boolean secure,
                        java.util.concurrent.ExecutorService executorService)
    • Method Detail

      • execute

        public java.lang.Object execute()
                                 throws QueryException
        Synchronously executes the GET operation.
        Specified by:
        execute in class Task<java.lang.Object>
        Returns:
        The result of the operation, deserialized using the query's serializer.
        Throws:
        QueryException