org.simple4j.wsclient.caller.Request Maven / Gradle / Ivy
package org.simple4j.wsclient.caller;
import java.util.Map;
/**
* @see FreeMarkerJSONCallerFactoryConfiguration
*
* @author jsrinivas108
*
*/
public class Request
{
/*
{
` "method": "PUT",
` "urlPattern": "/simple4j/wsmock/httpmethods/put/.*",
` "body": "{\"responsevalue\":\"{{request.body}}\", \"reqheadr2\":\"{{request.headers.x-header2}}\"}",
` "staticHeaders": {
"Content-Type": "application/JSON"
},
` "headers": {
"aaa": ""
}
} */
private String method = null;
private String urlPattern = null;
private String body = null;
private Map staticHeaders = null;
private Map headers = null;
public String getMethod()
{
return method;
}
public void setMethod(String method)
{
this.method = method;
}
public String getUrlPattern()
{
return urlPattern;
}
public void setUrlPattern(String urlPattern)
{
this.urlPattern = urlPattern;
}
public String getBody()
{
return body;
}
public void setBody(String body)
{
this.body = body;
}
public Map getStaticHeaders()
{
return staticHeaders;
}
public void setStaticHeaders(Map staticHeaders)
{
this.staticHeaders = staticHeaders;
}
public Map getHeaders()
{
return headers;
}
public void setHeaders(Map headers)
{
this.headers = headers;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy