public void postFromFile(File file) {
		Assert.notNull(file, "file must not be null");

		httpGenerator.postFromFile(file);
	}
Generate a http request from the contents of a file

@param file the File that contains the data to post
@throws GeneratorException If there was an error related to file handling.
spring-xd-test-fixtures/src/main/java/org/springframework/xd/test/fixtures/SimpleHttpSource.java