|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.appserv.management.base.MapCapableBase com.sun.appserv.management.ext.wsmgmt.MessageTraceImpl
public final class MessageTraceImpl
Provides details of a SOAP invocation.
Field Summary |
---|
Fields inherited from interface com.sun.appserv.management.ext.wsmgmt.MessageTrace |
---|
CLASS_NAME |
Fields inherited from interface com.sun.appserv.management.base.MapCapable |
---|
MAP_CAPABLE_CLASS_NAME_KEY |
Constructor Summary | |
---|---|
MessageTraceImpl(Map<String,Serializable> m,
String className)
Constructor |
|
MessageTraceImpl(String id)
Constructor |
|
MessageTraceImpl(String id,
String className)
Constructor |
Method Summary | |
---|---|
String |
getApplicationID()
Returns the name of the application. |
String |
getClientHost()
Returns the IP address or host name of the client machine. |
String |
getEndpointName()
Returns the fully qualified name of the webservice endpoint |
String |
getFaultActor()
Returns the fault actor. |
String |
getFaultCode()
Returns the fault code. |
String |
getFaultString()
Returns the fault string. |
String |
getHTTPRequestHeaders()
Returns the comma separated list of HTTP request header names and its values. |
String |
getHTTPResponseHeaders()
Returns the comma separated list of HTTP response header names and its values. |
String |
getMessageID()
Returns the message id. |
String |
getPrincipalName()
Returns the caller principal name. |
String |
getRequestContent()
Returns the SOAP request content. |
int |
getRequestSize()
Returns the total size in bytes of the request content. |
String |
getResponseContent()
Returns the SOAP response content. |
int |
getResponseSize()
Returns the total size in bytes of the response content. |
long |
getResponseTime()
Returns the response time in milli seconds for this web service operation. |
long |
getTimestamp()
Returns the time stamp when the SOAP message was received. |
String |
getTransportType()
Returns the transport type. |
boolean |
isCallFlowEnabled()
Returns if during this web service invocation call flow was enabled or not |
void |
setApplicationID(String id)
|
void |
setCallFlowEnabled(boolean enabled)
Returns if during this web service invocation call flow was enabled or not |
void |
setClientHost(String clientHost)
|
void |
setEndpointName(String name)
|
void |
setFaultActor(String faultActor)
|
void |
setFaultCode(String faultCode)
|
void |
setFaultString(String faultString)
|
void |
setHTTPRequestHeaders(String reqHeaders)
|
void |
setHTTPResponseHeaders(String resHeaders)
|
void |
setPrincipalName(String principal)
|
void |
setRequestContent(String reqContent)
|
void |
setRequestSize(int reqSize)
|
void |
setResponseContent(String resContent)
|
void |
setResponseSize(int resSize)
|
void |
setResponseTime(long resTime)
|
void |
setTimeStamp(long ts)
Returns the time stamp when the SOAP message was received. |
void |
setTransportType(String transport)
|
protected boolean |
validate()
Return true if internal state is valid, false otherwise. |
Methods inherited from class com.sun.appserv.management.base.MapCapableBase |
---|
asMap, asMapHook, checkInJavaUtil, checkLegalObject, checkLegalObject, checkValidType, equals, getboolean, getBoolean, getByte, getField, getFile, getInteger, getMap, getMapClassName, getObject, getString, getStringArray, hashCode, illegalObject, makeImmutable, putAll, putField, putFieldHook, toString, validateNullOrOfType, validateThrow |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.sun.appserv.management.base.MapCapable |
---|
asMap, getMapClassName |
Constructor Detail |
---|
public MessageTraceImpl(Map<String,Serializable> m, String className)
public MessageTraceImpl(String id, String className)
id
- Message IDpublic MessageTraceImpl(String id)
id
- Message IDMethod Detail |
---|
protected boolean validate()
MapCapableBase
validate
in class MapCapableBase
public int getRequestSize()
getRequestSize
in interface MessageTrace
public void setRequestSize(int reqSize)
public int getResponseSize()
getResponseSize
in interface MessageTrace
public void setResponseSize(int resSize)
public String getRequestContent()
getRequestContent
in interface MessageTrace
public void setRequestContent(String reqContent)
public String getResponseContent()
getResponseContent
in interface MessageTrace
public void setResponseContent(String resContent)
public String getTransportType()
getTransportType
in interface MessageTrace
public void setTransportType(String transport)
public String getHTTPRequestHeaders()
getHTTPRequestHeaders
in interface MessageTrace
public void setHTTPRequestHeaders(String reqHeaders)
public String getHTTPResponseHeaders()
getHTTPResponseHeaders
in interface MessageTrace
public void setHTTPResponseHeaders(String resHeaders)
public String getClientHost()
getClientHost
in interface MessageTrace
public void setClientHost(String clientHost)
public String getPrincipalName()
getPrincipalName
in interface MessageTrace
public void setPrincipalName(String principal)
public long getResponseTime()
getResponseTime
in interface MessageTrace
public void setResponseTime(long resTime)
public String getFaultCode()
getFaultCode
in interface MessageTrace
public void setFaultCode(String faultCode)
public String getFaultString()
getFaultString
in interface MessageTrace
public void setFaultString(String faultString)
public String getFaultActor()
getFaultActor
in interface MessageTrace
public void setFaultActor(String faultActor)
public String getMessageID()
getMessageID
in interface MessageTrace
public String getApplicationID()
getApplicationID
in interface MessageTrace
public void setApplicationID(String id)
public String getEndpointName()
getEndpointName
in interface MessageTrace
public void setEndpointName(String name)
public long getTimestamp()
getTimestamp
in interface MessageTrace
public boolean isCallFlowEnabled()
isCallFlowEnabled
in interface MessageTrace
public void setCallFlowEnabled(boolean enabled)
public void setTimeStamp(long ts)
ts
- the time stamp when the SOAP message was received
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.