Class RemoteSubscribeEventProcessor

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handler​(org.apache.eventmesh.runtime.core.protocol.http.processor.HandlerService.HandlerSpecific handlerSpecific, io.netty.handler.codec.http.HttpRequest httpRequest)  
      java.lang.String[] paths()  
      static java.lang.String post​(org.apache.http.impl.client.CloseableHttpClient client, java.lang.String uri, java.util.Map<java.lang.String,​java.lang.String> requestHeader, java.util.Map<java.lang.String,​java.lang.Object> requestBody, org.apache.http.client.ResponseHandler<java.lang.String> responseHandler)  
      • Methods inherited from class java.lang.Object

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

      • httpLogger

        public org.slf4j.Logger httpLogger
      • aclLogger

        public org.slf4j.Logger aclLogger
    • Constructor Detail

      • RemoteSubscribeEventProcessor

        public RemoteSubscribeEventProcessor​(EventMeshHTTPServer eventMeshHTTPServer)
    • Method Detail

      • handler

        public void handler​(org.apache.eventmesh.runtime.core.protocol.http.processor.HandlerService.HandlerSpecific handlerSpecific,
                            io.netty.handler.codec.http.HttpRequest httpRequest)
                     throws java.lang.Exception
        Specified by:
        handler in interface AsyncHttpProcessor
        Throws:
        java.lang.Exception
      • paths

        public java.lang.String[] paths()
        Specified by:
        paths in interface HttpProcessor
      • post

        public static java.lang.String post​(org.apache.http.impl.client.CloseableHttpClient client,
                                            java.lang.String uri,
                                            java.util.Map<java.lang.String,​java.lang.String> requestHeader,
                                            java.util.Map<java.lang.String,​java.lang.Object> requestBody,
                                            org.apache.http.client.ResponseHandler<java.lang.String> responseHandler)
                                     throws java.io.IOException
        Throws:
        java.io.IOException