{"action":"opened","issue":{"url":"https://api.github.com/repos/pedestal/pedestal/issues/312","labels_url":"https://api.github.com/repos/pedestal/pedestal/issues/312/labels{/name}","comments_url":"https://api.github.com/repos/pedestal/pedestal/issues/312/comments","events_url":"https://api.github.com/repos/pedestal/pedestal/issues/312/events","html_url":"https://github.com/pedestal/pedestal/issues/312","id":56052867,"number":312,"title":"Pedestal's Interceptor chain should not be Servlet specific","user":{"login":"ohpauleez","id":153929,"avatar_url":"https://avatars.githubusercontent.com/u/153929?v=3","gravatar_id":"","url":"https://api.github.com/users/ohpauleez","html_url":"https://github.com/ohpauleez","followers_url":"https://api.github.com/users/ohpauleez/followers","following_url":"https://api.github.com/users/ohpauleez/following{/other_user}","gists_url":"https://api.github.com/users/ohpauleez/gists{/gist_id}","starred_url":"https://api.github.com/users/ohpauleez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohpauleez/subscriptions","organizations_url":"https://api.github.com/users/ohpauleez/orgs","repos_url":"https://api.github.com/users/ohpauleez/repos","events_url":"https://api.github.com/users/ohpauleez/events{/privacy}","received_events_url":"https://api.github.com/users/ohpauleez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pedestal/pedestal/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-30T16:18:50Z","updated_at":"2015-01-30T16:18:50Z","closed_at":null,"body":"The current approach to connecting the interceptor chain to a container is an implementation detail that couples the two together.  There should be an enhancement such that the two are separated and connected via the creation of a service - you might imagine them being connected through a channel-based interface.  With such a change, Pedestal code would no longer need to be Servlet specific (you may use Pedestal with other technologies), as well as provide uniform interfaces to different container capabilities (like Websockets).  This also eases the integration for putting Pedestal on top of other non-servlet specific containers, like nginx."}}