@StampyLibrary(libraryName="stampy-client-server") public abstract class AbstractOutgoingTextInterceptor<SVR extends AbstractStampyMessageGateway> extends java.lang.Object implements StampyOutgoingTextInterceptor
| Constructor and Description |
|---|
AbstractOutgoingTextInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
SVR |
getGateway()
Gets the gateway.
|
void |
interceptMessage(java.lang.String message)
Intercepts the outgoing message for capturing state etc.
|
void |
setGateway(SVR gateway)
Sets the gateway.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinterceptMessagepublic void interceptMessage(java.lang.String message)
throws InterceptException
StampyOutgoingTextInterceptorinterceptMessage in interface StampyOutgoingTextInterceptormessage - the messageInterceptException - if the outgoing message is to be abortedpublic SVR getGateway()
public void setGateway(SVR gateway)
gateway - the new gateway