Class HttpService

    • Constructor Detail

      • HttpService

        public HttpService()
        Deprecated.
    • Method Detail

      • init

        @PostConstruct
        public void init()
        Deprecated.
      • getHttpsClientTrustAll

        public org.apache.http.client.HttpClient getHttpsClientTrustAll()
        Deprecated.
      • getHttpsClient

        public org.apache.http.client.HttpClient getHttpsClient()
        Deprecated.
      • getHttpsClient

        public org.apache.http.client.HttpClient getHttpsClient​(String trustStoreType,
                                                                String trustStorePath,
                                                                String trustStorePassword)
        Deprecated.
      • getHttpsClient

        public org.apache.http.client.HttpClient getHttpsClient​(String trustStoreType,
                                                                String trustStorePath,
                                                                String trustStorePassword,
                                                                String keyStoreType,
                                                                String keyStorePath,
                                                                String keyStorePassword)
        Deprecated.
      • executePost

        public HttpServiceResponse executePost​(org.apache.http.client.HttpClient httpClient,
                                               String uri,
                                               String authData,
                                               String postData,
                                               org.apache.http.entity.ContentType contentType)
        Deprecated.
      • encodeBase64

        public String encodeBase64​(String value)
        Deprecated.
      • encodeUrl

        public String encodeUrl​(String value)
        Deprecated.
      • executeGet

        public HttpServiceResponse executeGet​(org.apache.http.client.HttpClient httpClient,
                                              String requestUri)
        Deprecated.
      • getResponseContent

        public byte[] getResponseContent​(org.apache.http.HttpResponse httpResponse)
                                  throws IOException
        Deprecated.
        Throws:
        IOException
      • consume

        public void consume​(org.apache.http.HttpResponse httpResponse)
                     throws IOException
        Deprecated.
        Throws:
        IOException
      • convertEntityToString

        public String convertEntityToString​(byte[] responseBytes)
        Deprecated.
      • convertEntityToString

        public String convertEntityToString​(byte[] responseBytes,
                                            Charset charset)
        Deprecated.
      • isResponseStastusCodeOk

        public boolean isResponseStastusCodeOk​(org.apache.http.HttpResponse httpResponse)
        Deprecated.
      • isContentTypeXml

        public boolean isContentTypeXml​(org.apache.http.HttpResponse httpResponse)
        Deprecated.
      • constructServerUrl

        public String constructServerUrl​(jakarta.servlet.http.HttpServletRequest request)
        Deprecated.