Just downloaded Mina 2.0 M3 and playing with the quick start sample.
 
2 Questions :
 
TextLineCodecFactory is nice for direct Socket communication but I'm looking to 
parse GET messages. 
The HTTP sample is 13 months old and does not seem to apply anymore (Manual 
parsign and worker thread) and different function signatures and package. 
 
Is there the equivalent TextLineCodecFactory for http?
 
Second question concerns security
 
IoHandlerAdapter is called whenever a message is received. If I wanted to check 
that this session is valid (was called prviously with a valid 
username/password) where do I embed that information in the session.
 
Is AbstractIoSession.getAttributeKeys() the best practice in MINA?
 
Thanks
_________________________________________________________________

Reply via email to