Class SignRequest


  • public class SignRequest
    extends Object
    Construct a signing request for token service based on the sign configuration section in client.yml file. If serverUrl is available, the static url will be used. Otherwise, the serviceId will be used to do service discovery when establish a connection to the token service.
    Author:
    Steve Hu
    • Constructor Detail

      • SignRequest

        public SignRequest()
    • Method Detail

      • getServerUrl

        public String getServerUrl()
      • setServerUrl

        public void setServerUrl​(String serverUrl)
      • getServiceId

        public String getServiceId()
      • setServiceId

        public void setServiceId​(String serviceId)
      • isEnableHttp2

        public boolean isEnableHttp2()
      • setEnableHttp2

        public void setEnableHttp2​(boolean enableHttp2)
      • getUri

        public String getUri()
      • setUri

        public void setUri​(String uri)
      • getTimeout

        public int getTimeout()
      • setTimeout

        public void setTimeout​(int timeout)
      • getClientId

        public String getClientId()
      • setClientId

        public void setClientId​(String clientId)
      • getClientSecret

        public String getClientSecret()
      • setClientSecret

        public void setClientSecret​(String clientSecret)
      • getExpires

        public int getExpires()
      • setExpires

        public void setExpires​(int expires)
      • getProxyHost

        public String getProxyHost()
      • setProxyHost

        public void setProxyHost​(String proxyHost)
      • getProxyPort

        public int getProxyPort()
      • setProxyPort

        public void setProxyPort​(int proxyPort)