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