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

io.lsn.spring.utilities.middleware.businesslog.Log Maven / Gradle / Ivy

package io.lsn.spring.utilities.middleware.businesslog;

/**
 * @author Patryk Szlagowski 
 */
public class Log {

    private Object request;
    private Object response;
    private String endpoint;
    private Object headers;

    public Log(Object request, String endpoint) {
        this.request = request;
        this.endpoint = endpoint;
    }

    public Log(Object request, Object response, String endpoint) {
        this.request = request;
        this.response = response;
        this.endpoint = endpoint;
    }

    public Log(Object request, Object response, String endpoint, Object headers) {
        this.request = request;
        this.response = response;
        this.endpoint = endpoint;
        this.headers = headers;
    }

    public Object getRequest() {
        return request;
    }

    public Object getResponse() {
        return response;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public Object getHeaders() {
        return headers;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy