Package overit.geocall.cxf.trace
Class TraceInInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
overit.geocall.cxf.trace.AbstractTraceInterceptor
overit.geocall.cxf.trace.TraceInInterceptor
- All Implemented Interfaces:
Interceptor<Message>,PhaseInterceptor<Message>
Interceptor that handles the inbound request to a cxf service and log the
content into FS or DB depending by the Geocall's configuration.
-
Field Summary
Fields inherited from class overit.geocall.cxf.trace.AbstractTraceInterceptor
_filter, CLIENT_KEY, TRACE_DB_REFERENCE, TRACE_FILE_REFERENCE, TRACER_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectextractContent(Message m, InputStream is, String encoding, String contentType) voidhandleMessage(Message message) protected ObjectprocessMessage(Message message) Take a Message and process them extracting its payload content.Methods inherited from class overit.geocall.cxf.trace.AbstractTraceInterceptor
convertContent, getTracer, handleFault, hasFault, isWSDLRequest, log, logError, logRequest, logResponse, setFilter, setupTracerMethods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, isGET, isRequestor, setAfter, setBefore
-
Constructor Details
-
TraceInInterceptor
public TraceInInterceptor() -
TraceInInterceptor
-
-
Method Details
-
handleMessage
- Specified by:
handleMessagein interfaceInterceptor<Message>- Overrides:
handleMessagein classAbstractTraceInterceptor- Throws:
Fault
-
processMessage
Take a Message and process them extracting its payload content.- Parameters:
message- To process- Returns:
- The payload content
-
extractContent
-