Add #getRequestMethod and #attribute to RequestContext