I have implemented HTTP server(handling GET. POST and DELETE requests) in Android using sockets. In order to make the server non-blocking, I saw there is
The selector keys are accept, read or write. Is there any example link or tutorial of how will I implement non-blocking server using nio for each of the methods GET/ POST/ DELETE)? Currently, I am using request.getRequestLine().getMethod(); to know the method
Note: Http Core cannot be used as Android does not support org.apache.http.nio.* Thanks in advance! |
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment