Skip navigation links

Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1.1)

E17274-02


oracle.stellent.ridc.common.util
Class ServiceLog<TConfig extends IdcClientConfig>

java.lang.Object
  extended by oracle.stellent.ridc.common.util.ServiceLog<TConfig>


public class ServiceLog<TConfig extends IdcClientConfig>
extends java.lang.Object

Constructor Summary
ServiceLog(TConfig clientConfig, ServiceRequest serviceRequest, DataBinder requestBinder)
          Create service log.

 

Method Summary
 float getElapsedJaxAuthenticateTime()
           
 float getElapsedJaxRequestTime()
           
 float getElapsedTime()
           
protected  java.lang.String getLogId()
           
 void logExceptionResponse(java.lang.String message)
          Logs an Exception Response to a Service Request
 void logJaxWSAuthenticateUserRequest(java.lang.String stackName, java.util.Map<java.lang.String,java.lang.Object> requestContext)
          if enabled, write information about the jaxws authenticate user request to the log
 void logJaxWSAuthenticateUserResponse(java.lang.String stackName, java.util.Map responseContext)
          if enabled, write information about the jaxws authenticate user response to the log
 void logJaxWSRequest(java.lang.String stackName, java.util.Map<java.lang.String,java.lang.Object> requestContext)
          if enabled, write information about the jaxws request to the log
 void logJaxWSResponse(java.lang.String stackName, java.util.Map<java.lang.String,java.lang.Object> responseContext)
          if enabled, write information about the jaxws response to the log
 void logMultipartRequest(java.lang.String header, DataBinder binder)
          if enabled, write information about the multipartRequest to the log
 void logResponseBinder(DataBinder binder)
           
 void logResponseHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
           
 void logStandardRequest(java.lang.String header, java.lang.String body)
          if enabled, write information about to the log
 void logStop()
          Stop the log of this service request processing

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ServiceLog

public ServiceLog(TConfig clientConfig,
                  ServiceRequest serviceRequest,
                  DataBinder requestBinder)
Create service log. Creation will start the timer, and optionally log a message. Method logStop() will stop the timer and optionally log a message. Static methods are available for use in other locations but want to keep the same log message formats
Parameters:
clientConfig -
serviceRequest -
requestBinder -

Method Detail

getElapsedTime

public float getElapsedTime()
Returns:
time spent servicing request in milliseconds

getElapsedJaxAuthenticateTime

public float getElapsedJaxAuthenticateTime()

getElapsedJaxRequestTime

public float getElapsedJaxRequestTime()

logStop

public void logStop()
Stop the log of this service request processing

logStandardRequest

public void logStandardRequest(java.lang.String header,
                               java.lang.String body)
if enabled, write information about to the log
Parameters:
header -
body -

logMultipartRequest

public void logMultipartRequest(java.lang.String header,
                                DataBinder binder)
if enabled, write information about the multipartRequest to the log
Parameters:
header -
binder -

logJaxWSRequest

public void logJaxWSRequest(java.lang.String stackName,
                            java.util.Map<java.lang.String,java.lang.Object> requestContext)
if enabled, write information about the jaxws request to the log
Parameters:
requestContext -

logJaxWSResponse

public void logJaxWSResponse(java.lang.String stackName,
                             java.util.Map<java.lang.String,java.lang.Object> responseContext)
if enabled, write information about the jaxws response to the log
Parameters:
responseContext -

logResponseHeaders

public void logResponseHeaders(java.util.Map<java.lang.String,java.lang.String> headers)

logResponseBinder

public void logResponseBinder(DataBinder binder)

logJaxWSAuthenticateUserRequest

public void logJaxWSAuthenticateUserRequest(java.lang.String stackName,
                                            java.util.Map<java.lang.String,java.lang.Object> requestContext)
if enabled, write information about the jaxws authenticate user request to the log
Parameters:
requestContext -

logJaxWSAuthenticateUserResponse

public void logJaxWSAuthenticateUserResponse(java.lang.String stackName,
                                             java.util.Map responseContext)
if enabled, write information about the jaxws authenticate user response to the log
Parameters:
-

logExceptionResponse

public void logExceptionResponse(java.lang.String message)
Logs an Exception Response to a Service Request
Parameters:
message -

getLogId

protected java.lang.String getLogId()
Returns:
the id of this servicelog. Since a ServiceRequest holds this object, it can also serve a an ID for the Service Request

Skip navigation links

Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1.1)

E17274-02


Copyright © 2008, 2011, Oracle and/or its affiliates. All rights reserved.