Class RemoteSubscribeEventProcessor
- java.lang.Object
-
- org.apache.eventmesh.runtime.core.protocol.http.processor.inf.AbstractEventProcessor
-
- org.apache.eventmesh.runtime.core.protocol.http.processor.RemoteSubscribeEventProcessor
-
- All Implemented Interfaces:
AsyncHttpProcessor,HttpProcessor
@EventMeshTrace(isEnable=false) public class RemoteSubscribeEventProcessor extends AbstractEventProcessor implements AsyncHttpProcessor
-
-
Field Summary
Fields Modifier and Type Field Description org.slf4j.LoggeraclLoggerorg.slf4j.LoggerhttpLogger-
Fields inherited from class org.apache.eventmesh.runtime.core.protocol.http.processor.inf.AbstractEventProcessor
eventMeshHTTPServer
-
-
Constructor Summary
Constructors Constructor Description RemoteSubscribeEventProcessor(EventMeshHTTPServer eventMeshHTTPServer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandler(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.Stringpost(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 org.apache.eventmesh.runtime.core.protocol.http.processor.inf.AbstractEventProcessor
getTargetMesh, updateMetadata
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.eventmesh.runtime.core.protocol.http.processor.AsyncHttpProcessor
handler
-
-
-
-
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:
handlerin interfaceAsyncHttpProcessor- Throws:
java.lang.Exception
-
paths
public java.lang.String[] paths()
- Specified by:
pathsin interfaceHttpProcessor
-
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
-
-