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

com.verisec.frejaeid.client.beans.common.FrejaHttpErrorResponse Maven / Gradle / Ivy

package com.verisec.frejaeid.client.beans.common;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

public class FrejaHttpErrorResponse implements FrejaHttpResponse {

    private final int code;
    private final String message;

    @JsonCreator
    public FrejaHttpErrorResponse(@JsonProperty(value = "code") int code,
                                  @JsonProperty(value = "message") String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy