private SearchServiceWrapper searchWrapper = null;
private static final String KEY_PAYLOAD = "payload";
-
+
/**
* Instantiates a new search servlet.
*/
- public SearchServlet() {
- }
+ public SearchServlet() {}
/*
* (non-Javadoc)
doPost(request, response);
}
- public void destroy() {
+ public void destroy() {
// TODO Auto-generated method stub
super.destroy();
}
-
+
public void init() throws ServletException {
super.init();
searchWrapper = new SearchServiceWrapper();
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
String txnID = request.getHeader("X-TransactionId");
- if (txnID == null) {
+ if (txnID == null) {
txnID = NodeUtils.getRandomTxnId();
}
}
}
-
-
+
}