extract request handler