Add support for response headers
This commit is contained in:
parent
1be072f440
commit
3b6e4c8faf
6 changed files with 34 additions and 4 deletions
|
@ -11,6 +11,7 @@ class AddMockRequestData {
|
|||
Boolean soap
|
||||
Integer statusCode
|
||||
Method method
|
||||
String responseHeaders
|
||||
|
||||
void setPredicate(String predicate) {
|
||||
this.predicate = StringEscapeUtils.escapeXml11(predicate)
|
||||
|
@ -20,6 +21,10 @@ class AddMockRequestData {
|
|||
this.response = StringEscapeUtils.escapeXml11(response)
|
||||
}
|
||||
|
||||
void setResponseHeaders(String responseHeaders) {
|
||||
this.responseHeaders = StringEscapeUtils.escapeXml11(responseHeaders)
|
||||
}
|
||||
|
||||
enum Method {
|
||||
POST,
|
||||
GET,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue