Class HTTPForwardHandler
- java.lang.Object
-
- org.apache.iotdb.db.engine.trigger.sink.forward.http.HTTPForwardHandler
-
- All Implemented Interfaces:
Handler<HTTPForwardConfiguration,HTTPForwardEvent>
public class HTTPForwardHandler extends java.lang.Object implements Handler<HTTPForwardConfiguration,HTTPForwardEvent>
-
-
Constructor Summary
Constructors Constructor Description HTTPForwardHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidonEvent(java.util.List<HTTPForwardEvent> events)voidonEvent(HTTPForwardEvent event)voidopen(HTTPForwardConfiguration config)
-
-
-
Method Detail
-
close
public void close() throws java.io.IOException- Specified by:
closein interfaceHandler<HTTPForwardConfiguration,HTTPForwardEvent>- Throws:
java.io.IOException
-
open
public void open(HTTPForwardConfiguration config)
- Specified by:
openin interfaceHandler<HTTPForwardConfiguration,HTTPForwardEvent>
-
onEvent
public void onEvent(HTTPForwardEvent event) throws SinkException
- Specified by:
onEventin interfaceHandler<HTTPForwardConfiguration,HTTPForwardEvent>- Throws:
SinkException
-
onEvent
public void onEvent(java.util.List<HTTPForwardEvent> events) throws SinkException
- Specified by:
onEventin interfaceHandler<HTTPForwardConfiguration,HTTPForwardEvent>- Throws:
SinkException
-
-