public RequestHeader withMethod ( Method method ) { return new RequestHeader ( method , uri , protocol , acceptedResponseProtocols , principal , headers , lowercaseHeaders ) ; }
Return a copy of this request header with the given method set .