Class HttpService2

java.lang.Object
org.gluu.net.HttpServiceUtility
org.gluu.oxauth.service.net.HttpService2
All Implemented Interfaces:
Serializable

@ApplicationScoped public class HttpService2 extends org.gluu.net.HttpServiceUtility implements Serializable
Provides operations with http/https requests
Author:
Yuriy Movchan Date: 04/10/2023
See Also:
  • Field Summary

    Fields inherited from class org.gluu.net.HttpServiceUtility

    HTTPCLIENT_MAX_PER_ROUTE, HTTPCLIENT_MAX_TOTAL, HTTPCLIENT_VALIDATE_AFTER_INACTIVITY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
    org.slf4j.Logger
     
    void
     

    Methods inherited from class org.gluu.net.HttpServiceUtility

    buildDefaultRoutePlanner, constructServerUrl, consume, convertEntityToString, convertEntityToString, convertEntityToString, encodeBase64, encodeUrl, executeGet, executeGet, executePost, executePost, executePost, getHttpsClient, getHttpsClient, getHttpsClient, getHttpsClient, getHttpsClientTrustAll, getResponseContent, isContentTypeXml, isResponseStastusCodeOk

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HttpService2

      public HttpService2()
  • Method Details

    • init

      @PostConstruct public void init()
      Overrides:
      init in class org.gluu.net.HttpServiceUtility
    • destroy

      @PreDestroy public void destroy()
      Overrides:
      destroy in class org.gluu.net.HttpServiceUtility
    • getLogger

      public org.slf4j.Logger getLogger()
      Overrides:
      getLogger in class org.gluu.net.HttpServiceUtility
    • getApplicationConnectionProperties

      public Map<String,Integer> getApplicationConnectionProperties()
      Overrides:
      getApplicationConnectionProperties in class org.gluu.net.HttpServiceUtility