Class SynapseWireLogHolder
- java.lang.Object
-
- org.apache.synapse.transport.http.conn.SynapseWireLogHolder
-
- All Implemented Interfaces:
Serializable
public class SynapseWireLogHolder extends Object implements Serializable
This class is used to store wirelog information for all the relevant mediators and request wirelog, response wirelog as well- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSynapseWireLogHolder.PHASEThese are the phases to determine request responses in wire levelstatic classSynapseWireLogHolder.RequestType
-
Constructor Summary
Constructors Constructor Description SynapseWireLogHolder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendBackEndWireLog(SynapseWireLogHolder.RequestType type, String wireLog, String mediatorId)voidappendRequestWireLog(String requestWireLog)voidappendResponseWireLog(String responseWireLog)voidclear()SynapseWireLogHolderdeepClone()This method is to clone wirelog holder objectStringgetApiName()Map<String,SynapseBackEndWireLogs>getBackEndRequestResponse()SynapseWireLogHolder.PHASEgetPhase()StringgetProxyName()StringgetRequestWireLog()StringgetResourceUrlString()StringgetResponseWireLog()voidsetApiName(String apiName)voidsetPhase(SynapseWireLogHolder.PHASE phase)voidsetProxyName(String proxyName)voidsetResourceUrlString(String resourceUrlString)
-
-
-
Method Detail
-
getProxyName
public String getProxyName()
-
setProxyName
public void setProxyName(String proxyName)
-
getApiName
public String getApiName()
-
setApiName
public void setApiName(String apiName)
-
getResourceUrlString
public String getResourceUrlString()
-
setResourceUrlString
public void setResourceUrlString(String resourceUrlString)
-
getRequestWireLog
public String getRequestWireLog()
-
appendRequestWireLog
public void appendRequestWireLog(String requestWireLog)
-
getResponseWireLog
public String getResponseWireLog()
-
appendResponseWireLog
public void appendResponseWireLog(String responseWireLog)
-
getPhase
public SynapseWireLogHolder.PHASE getPhase()
-
setPhase
public void setPhase(SynapseWireLogHolder.PHASE phase)
-
appendBackEndWireLog
public void appendBackEndWireLog(SynapseWireLogHolder.RequestType type, String wireLog, String mediatorId)
-
getBackEndRequestResponse
public Map<String,SynapseBackEndWireLogs> getBackEndRequestResponse()
-
clear
public void clear()
-
deepClone
public SynapseWireLogHolder deepClone() throws IOException, ClassNotFoundException
This method is to clone wirelog holder object- Returns:
- Throws:
IOExceptionClassNotFoundException
-
-