Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Edited README.md via GitHub

  • Loading branch information...
commit b206e0065235a85aeaa2e28a48a6ddd8468672cb 1 parent 36cfdf4
@mpermar mpermar authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 README.md
View
8 README.md
@@ -134,3 +134,11 @@ Below you can also find a very trivial servlet POST method:
tropo.render(response);
}
+And of course, you can read Tropo's session from the request and use it in your Java apps. Again, no Json knowledge required!
+
+ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
+
+ Tropo tropo = new Tropo();
+ TropoSession session = tropo.session(request);
+ System.out.println("Call id: " + session.getCallId());
+ }
Please sign in to comment.
Something went wrong with that request. Please try again.