Groovy Documentation
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

AbstractEncoder - Class in betamax.encoding
apply(Statement, FrameworkMethod, Object) - Method in Recorder

B

Betamax - Annotation Type in betamax

C

compare(Property, Property) - Method in OrderedPropertyComparator
connectionClosed(NHttpConnection) - Method in HttpProxyServer
connectionOpen(NHttpConnection) - Method in HttpProxyServer
connectionTimeout(NHttpConnection) - Method in HttpProxyServer
createPropertySet(Class, BeanAccess) - Method in TapePropertyUtils

D

decode(InputStream, String) - Method in AbstractEncoder
DeflateEncoder - Class in betamax.encoding

E

ejectTape() - Method in Recorder
'Ejects' the current _tape_, writing its content to file.
encode(String, String) - Method in AbstractEncoder
EntityBufferingRequestWrapper - Class in betamax.server
EntityBufferingRequestWrapper(HttpEntityEnclosingRequest) - Constructor in EntityBufferingRequestWrapper

F

fatalIOException(IOException, NHttpConnection) - Method in HttpProxyServer
fatalProtocolException(HttpException, NHttpConnection) - Method in HttpProxyServer
fileFor(String) - Method in TapeLoader
@return an appropriate file for storing a tape with the supplied name.
fileFor(String) - Method in YamlTapeLoader

G

getDecodingInputStream(InputStream) - Method in AbstractEncoder
getDecodingInputStream(InputStream) - Method in DeflateEncoder
getDecodingInputStream(InputStream) - Method in GzipEncoder
getEncodingOutputStream(OutputStream) - Method in AbstractEncoder
getEncodingOutputStream(OutputStream) - Method in DeflateEncoder
getEncodingOutputStream(OutputStream) - Method in GzipEncoder
getName() - Method in Tape
@return The name of the tape.
getProperties(Class) - Method in GroovyRepresenter
getTape() - Method in Recorder
Gets the current active _tape_.
GroovyRepresenter - Class in betamax.storage.yaml
Ensures `metaClass` property is not dumped to YAML.
GzipEncoder - Class in betamax.encoding

H

handle(HttpRequest, HttpResponse, HttpContext) - Method in HttpProxyHandler
HttpProxyHandler - Class in betamax.server
HttpProxyHandler(Recorder) - Constructor in HttpProxyHandler
HttpProxyServer - Class in betamax.server
A simple proxy server that can run in the background.
HttpProxyServer() - Constructor in HttpProxyServer

I

insertTape(String, TapeMode) - Method in Recorder
Inserts a tape either creating a new one or loading an existing file from `tapeRoot`.
isReadable() - Method in MemoryTape
isReadable() - Method in Tape
@return `true` if the tape is readable, `false` otherwise.
isWritable() - Method in MemoryTape
isWritable() - Method in Tape
@return `true` if the tape is writable, `false` otherwise.

J


K


L

loadTape(String) - Method in TapeLoader
Loads the named tape or returns a new blank tape if an existing tape cannot be located.
loadTape(String) - Method in YamlTapeLoader

M

MemoryTape - Class in betamax.tape
Represents a set of recorded HTTP interactions that can be played back or appended to.

N


O

OrderedPropertyComparator - Class in betamax.storage.yaml
OrderedPropertyComparator(List) - Constructor in OrderedPropertyComparator

P

play(HttpResponse) - Method in MemoryTape
play(HttpResponse) - Method in Tape
Plays back a previously recorded interaction to the supplied response.

Q


R

readFrom(Reader) - Method in YamlTape
record(HttpRequest, HttpResponse) - Method in MemoryTape
record(HttpRequest, HttpResponse) - Method in Tape
Records a new interaction to the tape.
RecordedInteraction - Class in betamax.tape
RecordedRequest - Class in betamax.tape
RecordedResponse - Class in betamax.tape
Recorder - Class in betamax
This is the main interface to the Betamax proxy.
Recorder(Properties) - Constructor in Recorder
representJavaBeanProperty(Object, Property, Object, Tag) - Method in TapeRepresenter
representMapping(Tag, Map, Boolean) - Method in TapeRepresenter
reset() - Method in MemoryTape
reset() - Method in Tape
Resets the tape so that no recorded interaction is ready to play.

S

seek(HttpRequest) - Method in MemoryTape
seek(HttpRequest) - Method in Tape
Attempts to find a recorded interaction on the tape that matches the supplied request's method and URI.
setEntity(HttpEntity) - Method in EntityBufferingRequestWrapper
setMode(TapeMode) - Method in MemoryTape
setMode(TapeMode) - Method in Tape
@param mode the new record mode of the tape.
size() - Method in MemoryTape
size() - Method in Tape
@return the number of recorded HTTP interactions currently stored on the tape.
start(Recorder) - Method in HttpProxyServer
stop() - Method in HttpProxyServer
StorableTape - Interface in betamax.storage
A `Tape` that can be read from an written to a backing store.

T

Tape - Interface in betamax
Represents a set of recorded HTTP interactions that can be played back or appended to.
TapeLoader - Interface in betamax
The interface for factories that load tapes from file storage.
TapeLoadException - Class in betamax.storage
TapeMode - Enum in betamax
TapePropertyUtils - Class in betamax.storage.yaml
TapeRepresenter - Class in betamax.storage.yaml
Applies a fixed ordering to properties and excludes `null` valued properties, empty collections and empty maps.
TapeRepresenter() - Constructor in TapeRepresenter
toString() - Method in MemoryTape

U


V


W

withTape(String, Map, Closure) - Method in Recorder
Runs the supplied closure after starting the Betamax proxy and inserting a _tape_.
writeTape(StorableTape) - Method in TapeLoader
writeTape(StorableTape) - Method in YamlTapeLoader
writeTo(Writer) - Method in StorableTape
Writes the current state of the tape to `writer`.
writeTo(Writer) - Method in YamlTape

X


Y

YamlTape - Class in betamax.storage.yaml
YamlTapeLoader - Class in betamax.storage.yaml
YamlTapeLoader(File) - Constructor in YamlTapeLoader

Z


_


Groovy Documentation