Interface HertsHttpClientBuilder


  • public interface HertsHttpClientBuilder
    Herts http client builder interface
    • Method Detail

      • secure

        HertsHttpClientBuilder secure​(boolean isSecureConnection)
        Secure or not
        Parameters:
        isSecureConnection - IsSecure
        Returns:
        HertsHttpClientBuilder
      • port

        HertsHttpClientBuilder port​(int port)
        Set port
        Parameters:
        port - Porr
        Returns:
        HertsHttpClientBuilder
      • registerHertService

        <T> HertsHttpClientBuilder registerHertService​(java.lang.Class<T> interfaceClass)
        Herts implementation service Not implementation class. Required @HertsHttp annotation
        Type Parameters:
        T - HertsService interface
        Parameters:
        interfaceClass - Interface class
        Returns:
        HertsHttpClientBuilder
      • getHertsRpcServices

        java.util.List<java.lang.Class<?>> getHertsRpcServices()
        Get HertsRpcService of list
        Returns:
        HertsRpcService
      • getHost

        java.lang.String getHost()
        Get server host
        Returns:
        Host
      • getServerPort

        int getServerPort()
        Get Server port
        Returns:
        Server port
      • isSecureConnection

        boolean isSecureConnection()
        Get secure or not
        Returns:
        Result