org
.
treppo
.
mocoscala
.
dsl
Moco
Related Docs:
class Moco
|
package dsl
object
Moco
extends
Serializable
Linear Supertypes
Serializable
,
Serializable
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
Moco
Serializable
Serializable
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
async
(
action:
MocoEventAction
,
duration:
Duration
)
:
MocoEventAction
def
async
(
action:
MocoEventAction
)
:
MocoEventAction
def
attachment
(
filename:
String
,
resource:
Resource
)
:
ResponseHandler
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
complete
(
action:
MocoEventAction
)
:
MocoEventTrigger
def
context
(
context:
String
)
:
MocoConfig
[_]
def
cookie
(
name:
String
)
:
ExtractorMatcher
def
cookies
(
cookies: (
String
,
String
)*
)
:
ResponseHandler
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
failover
(
filename:
String
)
:
Failover
def
file
(
filename:
String
)
:
Resource
def
fileRoot
(
path:
String
)
:
MocoConfig
[_]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
form
(
key:
String
)
:
ExtractorMatcher
def
from
(
localBase:
String
)
:
Builder
def
get
(
url:
String
)
:
MocoEventAction
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
header
(
name:
String
)
:
ExtractorMatcher
def
headers
(
headers: (
String
,
String
)*
)
:
ResponseHandler
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
json
(
content:
Resource
)
:
RequestMatcher
def
jsonPath
(
path:
String
)
:
ExtractorMatcher
def
latency
(
duration:
Duration
)
:
LatencyProcedure
def
matched
(
value:
Resource
)
:
RequestMatcher
def
method
(
value:
String
)
:
Resource
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
playback
(
filename:
String
)
:
Failover
def
post
(
url:
String
,
content:
ContentResource
)
:
MocoEventAction
def
proxy
(
config: ⇒
ProxyConfig
)
:
ResponseHandler
def
proxy
(
url:
String
)
(
implicit
failover:
Failover
)
:
ResponseHandler
def
query
(
name:
String
)
:
ExtractorMatcher
def
redirectTo
(
uri:
String
)
:
ResponseHandler
def
seq
(
resources:
Resource
*
)
:
ResponseHandler
def
server
(
port:
Int
)
:
Moco
def
status
(
code:
Int
)
:
ResponseHandler
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
text
:
ExtractorMatcher
def
text
(
value:
String
)
:
Resource
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
uri
:
ExtractorMatcher
def
uri
(
value:
String
)
:
Resource
def
version
(
value:
String
)
:
Resource
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
xml
(
content:
Resource
)
:
RequestMatcher
def
xpath
(
path:
String
)
:
ExtractorMatcher
Inherited from
Serializable
Inherited from
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped