/** * Creates a new builder with a {@linkplain HttpStatus#CREATED CREATED} status and a location * header set to the given URI. * * @param location the location URI * @return the created builder * @since 4.1 */ public static BodyBuilder created(URI location) { BodyBuilder builder = status(HttpStatus.CREATED); return builder.location(location); }