docs: RpcRequest getRpcRequest(final HttpServletRequest request) {
  		String method = request.getMethod();
  		String relativePath = getRelativePath(request);
  
  		// In servlets we cannot distinguish between query and post params,
  		// so we use the same map for both. It is safe because Pdef HTTP RPC
  		// always uses only one of them.
  		Map<String, String> params = getParams(request);
  
  		return new RpcRequest()
  				.setMethod(method)
  				.setRelativePath(relativePath)
  				.setQuery(params)
  				.setPost(params);
  	}