org.webpieces.webserver.impl.NoCompression Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http-webserver Show documentation
Show all versions of http-webserver Show documentation
The full webpieces server AS A library
package org.webpieces.webserver.impl;
import java.io.OutputStream;
import org.webpieces.router.impl.compression.Compression;
public class NoCompression implements Compression {
@Override
public OutputStream createCompressionStream(OutputStream resultingData) {
return resultingData;
}
@Override
public String getCompressionType() {
return null;
}
}