<commit_before>package no.tornado.brap.examples.spring;

import no.tornado.brap.client.ServiceProxyFactory;
import no.tornado.brap.common.UsernamePasswordPrincipal;
import no.tornado.brap.examples.service.HelloService;

import java.io.FileInputStream;
import java.io.IOException;

public class SpringClientExample {
    public static void main(String[] args) throws IOException {
        UsernamePasswordPrincipal upp = new UsernamePasswordPrincipal("john", "<PASSWORD>");
        HelloService service = ServiceProxyFactory.createProxy(HelloService.class, "http://localhost:8080/remoting/hello", upp);
        System.out.println(service.sayHello("Hello"));

        FileInputStream in = new FileInputStream("/Users/edvin/Movies/Video0001.3gp");
        service.sendLargeStream(in);
    }
}<commit_msg>Added support for chunked streaming of large streams<commit_after>package no.tornado.brap.examples.spring;

import no.tornado.brap.client.ServiceProxyFactory;
import no.tornado.brap.common.UsernamePasswordPrincipal;
import no.tornado.brap.examples.service.HelloService;

import java.io.FileInputStream;
import java.io.IOException;

public class SpringClientExample {
    public static void main(String[] args) throws IOException {
        UsernamePasswordPrincipal upp = new UsernamePasswordPrincipal("john", "<PASSWORD>");
        HelloService service = ServiceProxyFactory.createProxy(HelloService.class, "http://localhost:8080/remoting/hello", upp);
        System.out.println(service.sayHello("Hello"));

        FileInputStream in = new FileInputStream("/Users/edvin/Movies/The.Dark.Knight.2008.1080p.BluRay.x264-CiNEFiLE.mkv");
        service.sendLargeStream(in);
    }
}
{'fraction_non_alphanumeric': 0.11137581893984515, 'fraction_numerical': 0.01429422275163788, 'mean_word_length': 5.021505376344086, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4673842', 'n_tokens_mistral': 508, 'n_tokens_neox': 470, 'n_words': 83}