Groovy Documentation

betamax.proxy
[Groovy] Interface Response

betamax.proxy.Response
  betamax.proxy.Message
All Superinterfaces:
Message

interface Response
extends Message

Method Summary
java.lang.String getContentType()

@return the content MIME type of the response.

int getStatus()

@return the HTTP status code of the response.

 
Methods inherited from interface Message
getBodyAsBinary, getBodyAsText, getHeader, getHeaders, hasBody
 

Method Detail

getContentType

java.lang.String getContentType()
Returns:
the content MIME type of the response.


getStatus

int getStatus()
Returns:
the HTTP status code of the response.


 

Groovy Documentation