Grizzly FIlterchain VS HTTPHandler -
i trying learn grizzly , basic background .net , when read thru grizzly tutorials few things confuses me , if me understand or can point documentation details concepts in depth helpful. confusion related basic difference between httphandler , filterchain , understood can create custom filters can act upon requests , invoke next item in filter chain. kind of pipeline processing incoming request. httphandler same thing right ? http requests ? basic difference these 2 fit ? helpful if point diagram shows network listener , filterchain , httphandler fit processing requests
filter , filterchain core abstractions grizzly framework, used implement protocol , http 1 of them. httpserver , httphandler higher level abstractions, provider servlet-like api work http requests. httpserver under hood built on top of filterchain , filters , httphandler represents piece of logic, processes http requests sent specific url, set when register httphandler on httpserver.
coming httpserver vs filterchain question, here example how httpserver's filterchain looks like:
- http protocol: transportfilter <-> httpcodecfilter <-> httpserverfilter
- https protocol: transportfilter <-> sslfilter <-> httpcodecfilter <-> httpserverfilter
did help?
Comments
Post a Comment