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​(String url)
    • Method Detail

      • getUrl

        public String getUrl()
      • setUrl

        public void setUrl​(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​(String key,
                                   io.jans.as.model.common.HasParamName value)
      • addReqParam

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

        public String getRequestAsString()
      • getResponseAsString

        public String getResponseAsString()
      • initClient

        protected void initClient()
      • applyCookies

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

        public void closeConnection()
      • getHttpMethod

        public abstract String getHttpMethod()
      • getCookies

        public List<jakarta.ws.rs.core.Cookie> getCookies()
      • prepareAuthorizatedClientRequest

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