Added methods setRequest and setMethod
Merge pull request #28 from Dyachenko/application-set-request

Added methods setRequest and setMethod