Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
317 ashish 1
/**
2
 * 
3
 */
4
 
5
package in.shop2020.serving.controllers;
6
import java.io.IOException;
7
 
8
import org.apache.juli.logging.Log;
9
import org.apache.juli.logging.LogFactory;
10
import org.apache.struts2.rest.DefaultHttpHeaders;
11
import org.apache.struts2.rest.HttpHeaders;
12
 
13
/**
14
 * @author naveen
15
 *
16
 */
17
public class CompareController extends BaseController {
18
 
19
 
20
	/**
21
	 * 
22
	 */
23
	private static Log log = LogFactory.getLog(CompareController.class);
24
 
25
	/**
26
	 * 
27
	 */
28
	private String id;
29
 
30
	/**
31
	 * GET /compare/1000001_1000004
32
	 * 
33
	 */
34
    public HttpHeaders show() throws SecurityException, IOException {
35
    	log.info("id=" + id);
36
 
37
        return new DefaultHttpHeaders("show");
38
    }
39
 
40
    /**
41
     * 
42
     * @param id
43
     */
44
    public void setId(String id) {
45
        this.id = id;
46
    }
47
 
48
    /**
49
     * 
50
     */
51
    public String getId() {
52
    	return this.id;
53
    }
54
}