All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.visenze.visearch.internal.ResponseBase Maven / Gradle / Ivy

There is a newer version: 1.14.5
Show newest version
package com.visenze.visearch.internal;

import com.google.common.collect.Maps;

import java.util.Map;

public abstract class ResponseBase {

    private String errorMessage;

    private Throwable cause;

    private String rawResponseMessage;

    protected Map headers = Maps.newHashMap();

    public void setHeaders(Map headers) {
        this.headers = headers;
    }

    public Map getHeaders() {
        return headers;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public String getErrorMessage() {
        return this.errorMessage;
    }

    public void setCause(Throwable e) {
        this.cause = e;
    }

    public Throwable getCause() {
        return this.cause;
    }

    public void setRawResponseMessage(String rawResponseMessage) {
        this.rawResponseMessage = rawResponseMessage;
    }

    public String getRawResponseMessage() {
        return this.rawResponseMessage;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy