以下是我对您问题的理解。
@RequestBody帐户newAccount
关于这一点,您的理解是正确的。
- @Value(“#{request.requestURL}”)StringBuffer网址
它等效于request.getRequestURL();
见API
- entityWithLocation(url,account.getEntityId())
根据此方法中的代码。它返回
HttpEntityObject,它代表http请求或响应entity(
which includes headers andbody),在您的情况下为
response。里面的方法,你已经添加了
location的
resource(account)创建。



