Groovy Documentation

com.confluex.mock.http
[Groovy] Class HttpResponder

java.lang.Object
  com.confluex.mock.http.HttpResponder

@Slf4j
class HttpResponder
extends java.lang.Object

Property Summary
org.springframework.core.io.Resource body

groovy.lang.Closure bodyClosure

java.util.Map headers

int status

 
Method Summary
void render(ClientRequest request, javax.servlet.http.HttpServletResponse response)

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

Property Detail

body

org.springframework.core.io.Resource body


bodyClosure

groovy.lang.Closure bodyClosure


headers

java.util.Map headers


status

int status


 
Method Detail

render

void render(ClientRequest request, javax.servlet.http.HttpServletResponse response)


 

Groovy Documentation