add some methods to deal with request uri.