package com.aincc.lib.network.http;
import com.aincc.lib.network.common.BaseTrans;
import com.aincc.lib.network.common.IPacket;
/**
*
* <h3><b>HttpTransaction</b></h3></br>
*
* @author aincc@barusoft.com
* @version 1.0.0
* @since 1.0.0
*/
public abstract class HttpTrans extends BaseTrans
{
/**
* response result
*
* @since 1.0.0
*/
protected String response;
/**
* service uri (header)
*
* @since 1.0.0
*/
protected String serviceUri = "";
/**
* command uri (content)
*
* @since 1.0.0
*/
protected String commandUri = "";
/**
* @return the response
*/
public String getResponse()
{
return response;
}
/**
* @param response
* the response to set
*/
public void setResponse(String response)
{
this.response = response;
}
/**
* @return the serviceUri
*/
public String getServiceUri()
{
return serviceUri;
}
/**
* @param serviceUri
* the serviceUri to set
*/
public void setServiceUri(String serviceUri)
{
this.serviceUri = serviceUri;
}
/**
* @return the commandUri
*/
public String getCommandUri()
{
return commandUri;
}
/**
* @param commandUri
* the commandUri to set
*/
public void setCommandUri(String commandUri)
{
this.commandUri = commandUri;
}
/*
* (non-Javadoc)
*
* @see com.baru.core.network.BaseTrans#setPacket(com.baru.core.network.IPacket)
*/
@Override
public void setPacket(IPacket packet) throws Exception
{
}
/*
* (non-Javadoc)
*
* @see com.baru.core.network.BaseTrans#getPacket()
*/
@Override
public IPacket getPacket() throws Exception
{
return null;
}
}