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

ru.yandex.qatools.camelot.beans.IncomingMessage Maven / Gradle / Ivy

There is a newer version: 2.5.4
Show newest version
package ru.yandex.qatools.camelot.beans;

import java.io.Serializable;

/**
 * @author Ilya Sadykov (mailto: [email protected])
 */
public class IncomingMessage implements Serializable {
    String headerName;
    T headerValue;
    String inputUri;
    T message;

    public IncomingMessage(String inputUri, T message) {
        this.inputUri = inputUri;
        this.message = message;
    }

    public IncomingMessage(String inputUri, T message, String headerName, T headerValue) {
        this(inputUri, message);
        this.headerName = headerName;
        this.headerValue = headerValue;
    }

    public String getInputUri() {
        return inputUri;
    }

    public T getMessage() {
        return message;
    }

    public String getHeaderName() {
        return headerName;
    }

    public T getHeaderValue() {
        return headerValue;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy