File tree Expand file tree Collapse file tree
src/test/java/org/baeldung/okhttp Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 <module >apache-cxf</module >
1919 <!-- <module>apache-fop</module> --> <!-- TODO: has a compilation issue -->
2020 <module >autovalue-tutorial</module >
21-
21+
2222 <module >cdi</module >
2323 <module >core-java</module >
2424 <module >core-java-8</module >
6969 <module >rest-assured</module >
7070 <module >rest-testing</module >
7171 <module >resteasy</module >
72- <module >okhttp</module >
7372
7473 <module >spring-all</module >
7574 <module >spring-akka</module >
Original file line number Diff line number Diff line change 55###The Course
66The "REST With Spring" Classes: http://bit.ly/restwithspring
77
8- ### Relevant Articles:
8+ ### Relevant Articles:
99- [ Spring @RequestMapping ] ( http://www.baeldung.com/spring-requestmapping )
1010- [ Http Message Converters with the Spring Framework] ( http://www.baeldung.com/spring-httpmessageconverter-rest )
1111- [ Redirect in Spring] ( http://www.baeldung.com/spring-redirect-and-forward )
1212- [ Returning Custom Status Codes from Spring Controllers] ( http://www.baeldung.com/spring-mvc-controller-custom-http-status-code )
13+ - [ A Guide to OkHttp] ( http://www.baeldung.com/guide-to-okhttp )
Original file line number Diff line number Diff line change 1818import okhttp3 .RequestBody ;
1919import okhttp3 .Response ;
2020
21- public class OkHttpFileUploadingTest {
21+ public class OkHttpFileUploadingLiveTest {
2222
2323 private static final String BASE_URL = "http://localhost:8080/spring-rest" ;
2424
Original file line number Diff line number Diff line change 1414import okhttp3 .Request ;
1515import okhttp3 .Response ;
1616
17- public class OkHttpGetTest {
17+ public class OkHttpGetLiveTest {
1818
1919 private static final String BASE_URL = "http://localhost:8080/spring-rest" ;
2020
Original file line number Diff line number Diff line change 99import okhttp3 .Request ;
1010import okhttp3 .Response ;
1111
12- public class OkHttpHeaderTest {
12+ public class OkHttpHeaderLiveTest {
1313
1414 private static final String SAMPLE_URL = "http://www.github.com" ;
1515
Original file line number Diff line number Diff line change 1616import okhttp3 .Request ;
1717import okhttp3 .Response ;
1818
19- public class OkHttpMiscTest {
19+ public class OkHttpMiscLiveTest {
2020
2121 private static final String BASE_URL = "http://localhost:8080/spring-rest" ;
22- private static Logger logger = LoggerFactory .getLogger (OkHttpMiscTest .class );
22+ private static Logger logger = LoggerFactory .getLogger (OkHttpMiscLiveTest .class );
2323
2424 @ Test
2525 public void whenSetRequestTimeout_thenFail () throws IOException {
Original file line number Diff line number Diff line change 1818import okhttp3 .RequestBody ;
1919import okhttp3 .Response ;
2020
21- public class OkHttpPostingTest {
21+ public class OkHttpPostingLiveTest {
2222
2323 private static final String BASE_URL = "http://localhost:8080/spring-rest" ;
2424 private static final String URL_SECURED_BY_BASIC_AUTHENTICATION = "http://browserspy.dk/password-ok.php" ;
Original file line number Diff line number Diff line change 1212import okhttp3 .Request ;
1313import okhttp3 .Response ;
1414
15- public class OkHttpRedirectTest {
15+ public class OkHttpRedirectLiveTest {
1616
1717 @ Test
1818 public void whenSetFollowRedirects_thenNotRedirected () throws IOException {
You can’t perform that action at this time.
0 commit comments