public request( IContext context, String method, String url, IMendixObject optRequestData, IMendixObject optResponseData, Boolean sendWithFormEncoding) { super(context); this.method = method == null ? null : restservices.proxies.HttpMethod.valueOf(method); this.url = url; this.optRequestData = optRequestData; this.optResponseData = optResponseData; this.sendWithFormEncoding = sendWithFormEncoding; }
public String getHttpMethod() { return httpMethod == null ? null : httpMethod.toString(); }