public class HttpEvent extends Object implements Serializable
| Constructor and Description |
|---|
HttpEvent(Integer apiId,
Long apiVersionId,
String orgId,
String hostId,
String clientId,
String transactionId,
String receivedTs,
String repliedTs,
String clientIp,
String verb,
String path,
int statusCode,
String userAgent,
int requestBytes,
int responseBytes,
com.mulesoft.mule.runtime.gw.api.analytics.RequestDisposition requestDisposition,
PolicyViolationDto policyViolation,
String apiName,
String apiVersion,
String instanceName,
String applicationName,
String eventId,
com.mulesoft.mule.runtime.gw.api.analytics.DeploymentType deploymentType) |
| Modifier and Type | Method and Description |
|---|---|
static HttpEvent |
from(com.mulesoft.mule.runtime.gw.api.analytics.AnalyticsHttpEvent event)
Note: The returned HttpEvent does not contain information about the muleAppName nor the flowName.
|
Integer |
getApiId() |
String |
getApiName() |
String |
getApiVersion() |
Long |
getApiVersionId() |
String |
getApplicationName() |
String |
getClientId() |
String |
getClientIp() |
com.mulesoft.mule.runtime.gw.api.analytics.DeploymentType |
getDeploymentType() |
String |
getEventId() |
String |
getHostId() |
String |
getInstanceName() |
String |
getOrgId() |
String |
getPath() |
PolicyViolationDto |
getPolicyViolation() |
String |
getReceivedTs() |
String |
getRepliedTs() |
int |
getRequestBytes() |
com.mulesoft.mule.runtime.gw.api.analytics.RequestDisposition |
getRequestDisposition() |
int |
getResponseBytes() |
int |
getStatusCode() |
String |
getTransactionId() |
String |
getUserAgent() |
String |
getVerb() |
String |
toString() |
public HttpEvent(Integer apiId, Long apiVersionId, String orgId, String hostId, String clientId, String transactionId, String receivedTs, String repliedTs, String clientIp, String verb, String path, int statusCode, String userAgent, int requestBytes, int responseBytes, com.mulesoft.mule.runtime.gw.api.analytics.RequestDisposition requestDisposition, PolicyViolationDto policyViolation, String apiName, String apiVersion, String instanceName, String applicationName, String eventId, com.mulesoft.mule.runtime.gw.api.analytics.DeploymentType deploymentType)
public static HttpEvent from(com.mulesoft.mule.runtime.gw.api.analytics.AnalyticsHttpEvent event)
Note: The returned HttpEvent does not contain information about the muleAppName nor the flowName. Since those fields are not required by Cloud Analytics.
event - The AnalyticsHttpEvent event from which all the information.public Integer getApiId()
public Long getApiVersionId()
public String getOrgId()
public String getHostId()
public String getClientId()
public String getTransactionId()
public String getReceivedTs()
public String getRepliedTs()
public String getClientIp()
public String getVerb()
public String getPath()
public int getStatusCode()
public String getUserAgent()
public int getRequestBytes()
public int getResponseBytes()
public com.mulesoft.mule.runtime.gw.api.analytics.RequestDisposition getRequestDisposition()
public PolicyViolationDto getPolicyViolation()
public String getApiName()
public String getApiVersion()
public String getApplicationName()
public String getEventId()
public String getInstanceName()
public com.mulesoft.mule.runtime.gw.api.analytics.DeploymentType getDeploymentType()
Copyright © 2014–2024 MuleSoft, Inc.. All rights reserved.