Groovy Documentation

com.confluex.mock.http.expectations
[Groovy] Class MethodExpectation

java.lang.Object
  com.confluex.mock.http.expectations.MethodExpectation
All Implemented Interfaces:
Expectation

@ToString(includeNames = true)
class MethodExpectation
extends java.lang.Object

Field Summary
static MethodExpectation DELETE

static MethodExpectation GET

static MethodExpectation POST

static MethodExpectation PUT

 
Property Summary
java.lang.String method

 
Constructor Summary
MethodExpectation(java.lang.String method)

 
Method Summary
java.lang.Boolean verify(ClientRequest request)

 
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()
 

Field Detail

DELETE

public static final MethodExpectation DELETE


GET

public static final MethodExpectation GET


POST

public static final MethodExpectation POST


PUT

public static final MethodExpectation PUT


 
Property Detail

method

java.lang.String method


 
Constructor Detail

MethodExpectation

MethodExpectation(java.lang.String method)


 
Method Detail

verify

java.lang.Boolean verify(ClientRequest request)


 

Groovy Documentation