Class BaseClient<T extends BaseRequest,​V extends BaseResponse>

    • Field Detail

      • resteasyClient

        protected org.jboss.resteasy.client.jaxrs.ResteasyClient resteasyClient
      • webTarget

        protected jakarta.ws.rs.client.WebTarget webTarget
      • requestForm

        protected jakarta.ws.rs.core.Form requestForm
      • clientResponse

        protected jakarta.ws.rs.core.Response clientResponse
      • executor

        protected org.jboss.resteasy.client.jaxrs.ClientHttpEngine executor
    • Constructor Detail

      • BaseClient

        protected BaseClient()
      • BaseClient

        protected BaseClient​(java.lang.String url)
    • Method Detail

      • getUrl

        public java.lang.String getUrl()
      • setUrl

        public void setUrl​(java.lang.String url)
      • getRequest

        public T getRequest()
      • setRequest

        public void setRequest​(T request)
      • getResponse

        public V getResponse()
      • setResponse

        public void setResponse​(V response)
      • getExecutor

        public org.jboss.resteasy.client.jaxrs.ClientHttpEngine getExecutor()
      • setExecutor

        public void setExecutor​(org.jboss.resteasy.client.jaxrs.ClientHttpEngine executor)
      • addReqParam

        protected void addReqParam​(java.lang.String key,
                                   io.jans.as.model.common.HasParamName value)
      • addReqParam

        protected void addReqParam​(java.lang.String key,
                                   java.lang.String value)
      • getRequestAsString

        public java.lang.String getRequestAsString()
      • getResponseAsString

        public java.lang.String getResponseAsString()
      • initClient

        protected void initClient()
      • applyCookies

        protected void applyCookies​(jakarta.ws.rs.client.Invocation.Builder clientRequest)
      • closeConnection

        public void closeConnection()
      • getHttpMethod

        public abstract java.lang.String getHttpMethod()
      • getCookies

        public java.util.List<jakarta.ws.rs.core.Cookie> getCookies()
      • getHeaders

        public java.util.Map<java.lang.String,​java.lang.String> getHeaders()
      • prepareAuthorizatedClientRequest

        protected jakarta.ws.rs.client.Invocation.Builder prepareAuthorizatedClientRequest​(io.jans.as.model.common.AuthorizationMethod authorizationMethod,
                                                                                           java.lang.String accessToken)