betamax.proxy
[Groovy] Class RecordAndPlaybackProxyInterceptor
java.lang.Object
betamax.proxy.RecordAndPlaybackProxyInterceptor
- All Implemented Interfaces:
- VetoingProxyInterceptor
class RecordAndPlaybackProxyInterceptor
extends java.lang.Object
Field Summary |
static java.lang.String |
X_BETAMAX
Header placed in the response to indicate whether the response was recorded or played back.
|
Methods inherited from class java.lang.Object
|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
X_BETAMAX
public static final java.lang.String X_BETAMAX
- Header placed in the response to indicate whether the response was recorded or played back.
RecordAndPlaybackProxyInterceptor
RecordAndPlaybackProxyInterceptor(Recorder recorder)
-
interceptRequest
boolean interceptRequest(Request request, Response response)
-
interceptResponse
void interceptResponse(Request request, Response response)
-
Groovy Documentation