I'm implementing a primitive http server and I have a handler extending SimpleChannelInboundHandler
. I have a method that's processing requests and I want to make a delay after processing specific request. How should I implement the pause so that server's behaviour still conforms to standards? I mean, client (browser etc.) should not behave like connection is lost or something like that, but just wait till the necessary amount of time passes.
问问题
829 次