Class RestClient


  • public class RestClient
    extends Object
    Author:
    jasonlee
    • Field Detail

      • port

        protected int port
      • client

        protected jakarta.ws.rs.client.Client client
      • useSsl

        protected boolean useSsl
    • Constructor Detail

      • RestClient

        public RestClient()
      • RestClient

        public RestClient​(String host,
                          int port,
                          boolean useSsl)
      • RestClient

        public RestClient​(String host,
                          int port,
                          boolean useSsl,
                          String user,
                          String password)
    • Method Detail

      • getRestUrl

        public String getRestUrl()