package com.enigmabridge.comm;

/**
 * Raw request to EB.
 * Created by dusanklinec on 28.04.16.
 */
public class EBRawRequest {
    public static final String METHOD_GET = "GET";
    public static final String METHOD_POST = "POST";

    protected String method;
    protected String query;
    protected String body;

    @Override
    public String toString() {
        return "EBRawRequest{" +
                "method='" + method + '\'' +
                ", query='" + query + '\'' +
                ", body='" + body + '\'' +
                '}';
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }
}

@@ -250,24 +250,37 @@
 tring method
+ = METHOD_GET
 ;%0A    protec

default HTTP method is GET