Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

/**
 * 
 */

package in.shop2020.serving.controllers;
import java.io.IOException;

import org.apache.juli.logging.Log;
import org.apache.juli.logging.LogFactory;
import org.apache.struts2.rest.DefaultHttpHeaders;
import org.apache.struts2.rest.HttpHeaders;

/**
 * @author naveen
 *
 */
public class CompareController extends BaseController {

        
        /**
         * 
         */
        private static Log log = LogFactory.getLog(CompareController.class);
        
        /**
         * 
         */
        private String id;
        
        /**
         * GET /compare/1000001_1000004
         * 
         */
    public HttpHeaders show() throws SecurityException, IOException {
        log.info("id=" + id);

        return new DefaultHttpHeaders("show");
    }
    
    /**
     * 
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }
    
    /**
     * 
     */
    public String getId() {
        return this.id;
    }
}