handleMethod

handleMethod registers a handler or merges a router if passed.