Use ProxyOutputStream, not FilterOutputStream