Class HTTPResponseLogger

  • All Implemented Interfaces:
    org.wso2.msf4j.interceptor.ResponseInterceptor

    public class HTTPResponseLogger
    extends java.lang.Object
    implements org.wso2.msf4j.interceptor.ResponseInterceptor
    HTTP response logging class. Please note that the @Component annotation is only required in OSGI mode
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean interceptResponse​(org.wso2.msf4j.Request request, org.wso2.msf4j.Response response)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.wso2.msf4j.interceptor.ResponseInterceptor

        onResponseInterceptionError
    • Constructor Detail

      • HTTPResponseLogger

        public HTTPResponseLogger()
    • Method Detail

      • interceptResponse

        public boolean interceptResponse​(org.wso2.msf4j.Request request,
                                         org.wso2.msf4j.Response response)
                                  throws java.lang.Exception
        Specified by:
        interceptResponse in interface org.wso2.msf4j.interceptor.ResponseInterceptor
        Throws:
        java.lang.Exception