class MultipartRequestHandler {

    public void handle() throws IOException, MalformedInputException {
        if (wasHandledBefore) {
            throw new IllegalStateException("Handle method was not expected to be called more than once");
        }
        wasHandledBefore = true;

        skipToTheFirstPart();
        handleBody();
    }

    public  MultipartRequestHandler(final Parser<MultipartHeadersPart> multipartHeadersPartParser,
                                   final InputStream in, final int expectedPostLength,
                                   final String boundary, final String temporaryUploadsDirectory,
                                   final int bufferLength);

}