public class EventBuilder extends Object
| Constructor and Description |
|---|
EventBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static org.wso2.carbon.databridge.commons.Event |
buildEvent(String streamId,
org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response,
long startTime,
long responseTime)
Creates an Event to be published by the DataPublisher.
|
public static org.wso2.carbon.databridge.commons.Event buildEvent(String streamId, org.apache.catalina.connector.Request request, org.apache.catalina.connector.Response response, long startTime, long responseTime) throws StatPublisherException
streamId - unique ID of the event stream definition deployed in DASrequest - the Request object of clientresponse - the Response object of clientstartTime - the time at which the valve is invokedresponseTime - the time that is taken for the client to receive a responseStatPublisherExceptionCopyright © 2016 WSO2. All rights reserved.