Add module

This commit is contained in:
Grzegorz Piwowarek 2016-10-04 19:16:35 +02:00
parent 3dae7f5352
commit 1dd86be0ca
2 changed files with 5 additions and 10 deletions

View File

@ -1,16 +1,11 @@
package org.baeldung.okhttp;
import okhttp3.RequestBody;
import okhttp3.MediaType;
import okhttp3.RequestBody;
import okio.*;
import java.io.IOException;
import okio.Buffer;
import okio.BufferedSink;
import okio.ForwardingSink;
import okio.Okio;
import okio.Sink;
public class ProgressRequestWrapper extends RequestBody {
protected RequestBody delegate;
@ -65,9 +60,8 @@ public class ProgressRequestWrapper extends RequestBody {
}
public static interface ProgressListener {
public void onRequestProgress(long bytesWritten, long contentLength);
public interface ProgressListener {
void onRequestProgress(long bytesWritten, long contentLength);
}
}

View File

@ -69,6 +69,7 @@
<module>rest-assured</module>
<module>rest-testing</module>
<module>resteasy</module>
<module>okhttp</module>
<module>spring-all</module>
<module>spring-akka</module>