Mercurial > hg > Members > nobuyasu > jungle-network
comparison src/main/java/app/bbs/ShowMessageWithTimeStampServlet.java @ 193:89c15aa2bc6d
change transaction
author | tatsuki |
---|---|
date | Fri, 20 Mar 2015 16:18:42 +0900 |
parents | 3202a2a427b1 |
children |
comparison
equal
deleted
inserted
replaced
192:3202a2a427b1 | 193:89c15aa2bc6d |
---|---|
7 import javax.servlet.http.HttpServletResponse; | 7 import javax.servlet.http.HttpServletResponse; |
8 | 8 |
9 import org.eclipse.jetty.util.thread.ThreadPool; | 9 import org.eclipse.jetty.util.thread.ThreadPool; |
10 | 10 |
11 import fj.data.List; | 11 import fj.data.List; |
12 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.bbs.BoardMessage; | |
13 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.bbs.GetAttributeImp; | 12 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.bbs.GetAttributeImp; |
14 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl.DefaultNodePath; | |
15 | 13 |
16 public class ShowMessageWithTimeStampServlet extends HttpServlet { | 14 public class ShowMessageWithTimeStampServlet extends HttpServlet { |
17 /** | 15 /** |
18 * | 16 * |
19 */ | 17 */ |
20 private static final long serialVersionUID = 1L; | 18 private static final long serialVersionUID = 1L; |
21 private final NetworkBulletinBoard bbs; | 19 private final NetworkBulletinBoard bbs; |
22 private final String createBoardMessagePath; | 20 private final String createBoardMessagePath; |
23 private final String editMessagePath; | |
24 | 21 |
25 private static final String PARAM_BOARD_NAME = "bname"; | 22 private static final String PARAM_BOARD_NAME = "bname"; |
26 | 23 |
27 public ShowMessageWithTimeStampServlet(NetworkBulletinBoard _bbs, | 24 public ShowMessageWithTimeStampServlet(NetworkBulletinBoard _bbs, |
28 String _createBoardMessagePath, String _editMessagePath,ThreadPool thp) { | 25 String _createBoardMessagePath, ThreadPool thp) { |
29 bbs = _bbs; | 26 bbs = _bbs; |
30 createBoardMessagePath = _createBoardMessagePath; | 27 createBoardMessagePath = _createBoardMessagePath; |
31 editMessagePath = _editMessagePath; | |
32 } | 28 } |
33 | 29 |
34 public void doGet(HttpServletRequest _req, HttpServletResponse _res) { | 30 public void doGet(HttpServletRequest _req, HttpServletResponse _res) { |
35 final String bname = (_req.getParameter(PARAM_BOARD_NAME)); | 31 final String bname = (_req.getParameter(PARAM_BOARD_NAME)); |
36 try { | 32 try { |