}
@Override
public <R extends HttpRequest> R bindToRequest(R request, Object input) {
checkArgument(input instanceof ProfileInfo, "this binder is only valid for ProfileInfo!");
ProfileInfo create = ProfileInfo.class.cast(input);
JsonObject profileInfoJsonObject = createProfileRequestToJson.apply(create);
request.setPayload(profileInfoJsonObject.toString());
request.getPayload().getContentMetadata().setContentType(MediaType.APPLICATION_JSON);
return request;
}