Class HttpService2

  • All Implemented Interfaces:
    java.io.Serializable

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

      Constructors 
      Constructor Description
      HttpService2()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      org.slf4j.Logger getLogger()  
      void init()  
      • 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 Detail

      • HttpService2

        public HttpService2()
    • Method Detail

      • 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