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

com.att.aft.dme2.api.DME2Response Maven / Gradle / Ivy

/*******************************************************************************
 * Copyright (c) 2016 AT&T Intellectual Property. All rights reserved.
 *******************************************************************************/
package com.att.aft.dme2.api;

import java.util.HashMap;
import java.util.Map;

import org.eclipse.jetty.client.api.Result;

import com.att.aft.dme2.request.DME2Payload;

/*
 * Base class for handling DME2 Response.
 * Subclasses can be HTTPRespone or WebSocket Response
 */
public class DME2Response {
	private Map responseHeaders = new HashMap();
	private String replyMessage;

	public String getReplyMessage() {
		return replyMessage;
	}

	public void setReplyMessage(String replyMessage) {
		this.replyMessage = replyMessage;
	}

	public Result result;

	public Result getResult() {
		return result;
	}

	public void setResult(Result result) {
		this.result = result;
	}

	public Map respHeaders;

	public Map getRespHeaders() {
		return respHeaders;
	}

	public void setRespHeaders(Map respHeaders) {
		this.respHeaders = respHeaders;
	}

	public Integer respCode;

	public Integer getRespCode() {
		return respCode;
	}

	public void setRespCode(Integer respCode) {
		this.respCode = respCode;
	}

	public DME2Payload payload;

	public DME2Payload getPayload() {
		return payload;
	}



}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy