Newer
Older
CactusServer / src / main / java / cactusServer / entities / AddressedEntity.java
package cactusServer.entities;

/**
 * 各リソースをPOSTで作成した際に, 当該リソースの実体とURIを呼び出し元に返すときに用いるクラス
 * @author r-isitani
 *
 */
public class AddressedEntity {
	private String URI;
	private Entity body;
	
	public AddressedEntity(String URI, Entity body) {
		this.URI = URI;
		this.body = body;
	}
	
	public String getURI() {
		return URI;
	}
	public Entity getBody() {
		return body;
	}
}