Class HertsHttpClientHandler

  • All Implemented Interfaces:
    java.lang.reflect.InvocationHandler

    public class HertsHttpClientHandler
    extends java.lang.Object
    implements java.lang.reflect.InvocationHandler
    Herts http client handler
    • Constructor Summary

      Constructors 
      Constructor Description
      HertsHttpClientHandler​(java.lang.String url, java.lang.Class<?> hertsRpcService)  
      HertsHttpClientHandler​(java.lang.String url, java.lang.Class<?> hertsRpcService, java.util.Map<java.lang.String,​java.lang.String> customHeaders)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object invoke​(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)  
      • Methods inherited from class java.lang.Object

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

      • HertsHttpClientHandler

        public HertsHttpClientHandler​(java.lang.String url,
                                      java.lang.Class<?> hertsRpcService)
      • HertsHttpClientHandler

        public HertsHttpClientHandler​(java.lang.String url,
                                      java.lang.Class<?> hertsRpcService,
                                      java.util.Map<java.lang.String,​java.lang.String> customHeaders)
    • Method Detail

      • invoke

        public java.lang.Object invoke​(java.lang.Object proxy,
                                       java.lang.reflect.Method method,
                                       java.lang.Object[] args)
                                throws java.lang.Throwable
        Specified by:
        invoke in interface java.lang.reflect.InvocationHandler
        Throws:
        java.lang.Throwable