long old_subject_id = ((Long) (objs[0])).longValue();
long r = ta.getSubject(old_subject_id);
StringBuffer sb = new StringBuffer();
sb = Handler.getElementByObject(sb, r);
byte[] rb = sb.toString().getBytes("utf-8");
Headers hd = httpExchange.getResponseHeaders();
hd.put("Content-Type", Arrays.asList("text/plain; charset=utf-8"));
hd.put("Content-Length", Arrays.asList(Long.toString(rb.length + 2)));
httpExchange.sendResponseHeaders(200, rb.length + 2);
OutputStream w = httpExchange.getResponseBody();
w.write(rb);
w.write("\r\n".getBytes());
w.close();