Code improvement

This commit is contained in:
Ivan Paolillo 2016-10-13 10:20:18 +02:00
parent 70eb0501c6
commit 5329c54f28
8 changed files with 10 additions and 10 deletions

View File

@ -18,7 +18,7 @@
<module>apache-cxf</module> <module>apache-cxf</module>
<!-- <module>apache-fop</module> --> <!-- TODO: has a compilation issue --> <!-- <module>apache-fop</module> --> <!-- TODO: has a compilation issue -->
<module>autovalue-tutorial</module> <module>autovalue-tutorial</module>
<module>cdi</module> <module>cdi</module>
<module>core-java</module> <module>core-java</module>
<module>core-java-8</module> <module>core-java-8</module>
@ -69,7 +69,6 @@
<module>rest-assured</module> <module>rest-assured</module>
<module>rest-testing</module> <module>rest-testing</module>
<module>resteasy</module> <module>resteasy</module>
<module>okhttp</module>
<module>spring-all</module> <module>spring-all</module>
<module>spring-akka</module> <module>spring-akka</module>

View File

@ -5,8 +5,9 @@
###The Course ###The Course
The "REST With Spring" Classes: http://bit.ly/restwithspring The "REST With Spring" Classes: http://bit.ly/restwithspring
### Relevant Articles: ### Relevant Articles:
- [Spring @RequestMapping](http://www.baeldung.com/spring-requestmapping) - [Spring @RequestMapping](http://www.baeldung.com/spring-requestmapping)
- [Http Message Converters with the Spring Framework](http://www.baeldung.com/spring-httpmessageconverter-rest) - [Http Message Converters with the Spring Framework](http://www.baeldung.com/spring-httpmessageconverter-rest)
- [Redirect in Spring](http://www.baeldung.com/spring-redirect-and-forward) - [Redirect in Spring](http://www.baeldung.com/spring-redirect-and-forward)
- [Returning Custom Status Codes from Spring Controllers](http://www.baeldung.com/spring-mvc-controller-custom-http-status-code) - [Returning Custom Status Codes from Spring Controllers](http://www.baeldung.com/spring-mvc-controller-custom-http-status-code)
- [A Guide to OkHttp](http://www.baeldung.com/guide-to-okhttp)

View File

@ -18,7 +18,7 @@ import okhttp3.Request;
import okhttp3.RequestBody; import okhttp3.RequestBody;
import okhttp3.Response; import okhttp3.Response;
public class OkHttpFileUploadingTest { public class OkHttpFileUploadingLiveTest {
private static final String BASE_URL = "http://localhost:8080/spring-rest"; private static final String BASE_URL = "http://localhost:8080/spring-rest";

View File

@ -14,7 +14,7 @@ import okhttp3.OkHttpClient;
import okhttp3.Request; import okhttp3.Request;
import okhttp3.Response; import okhttp3.Response;
public class OkHttpGetTest { public class OkHttpGetLiveTest {
private static final String BASE_URL = "http://localhost:8080/spring-rest"; private static final String BASE_URL = "http://localhost:8080/spring-rest";

View File

@ -9,7 +9,7 @@ import okhttp3.OkHttpClient;
import okhttp3.Request; import okhttp3.Request;
import okhttp3.Response; import okhttp3.Response;
public class OkHttpHeaderTest { public class OkHttpHeaderLiveTest {
private static final String SAMPLE_URL = "http://www.github.com"; private static final String SAMPLE_URL = "http://www.github.com";

View File

@ -16,10 +16,10 @@ import okhttp3.OkHttpClient;
import okhttp3.Request; import okhttp3.Request;
import okhttp3.Response; import okhttp3.Response;
public class OkHttpMiscTest { public class OkHttpMiscLiveTest {
private static final String BASE_URL = "http://localhost:8080/spring-rest"; private static final String BASE_URL = "http://localhost:8080/spring-rest";
private static Logger logger = LoggerFactory.getLogger(OkHttpMiscTest.class); private static Logger logger = LoggerFactory.getLogger(OkHttpMiscLiveTest.class);
@Test @Test
public void whenSetRequestTimeout_thenFail() throws IOException { public void whenSetRequestTimeout_thenFail() throws IOException {

View File

@ -18,7 +18,7 @@ import okhttp3.Request;
import okhttp3.RequestBody; import okhttp3.RequestBody;
import okhttp3.Response; import okhttp3.Response;
public class OkHttpPostingTest { public class OkHttpPostingLiveTest {
private static final String BASE_URL = "http://localhost:8080/spring-rest"; private static final String BASE_URL = "http://localhost:8080/spring-rest";
private static final String URL_SECURED_BY_BASIC_AUTHENTICATION = "http://browserspy.dk/password-ok.php"; private static final String URL_SECURED_BY_BASIC_AUTHENTICATION = "http://browserspy.dk/password-ok.php";

View File

@ -12,7 +12,7 @@ import okhttp3.OkHttpClient;
import okhttp3.Request; import okhttp3.Request;
import okhttp3.Response; import okhttp3.Response;
public class OkHttpRedirectTest { public class OkHttpRedirectLiveTest {
@Test @Test
public void whenSetFollowRedirects_thenNotRedirected() throws IOException { public void whenSetFollowRedirects_thenNotRedirected() throws IOException {