|
40 | 40 | import java.time.Period; |
41 | 41 | import java.util.ArrayList; |
42 | 42 | import java.util.Arrays; |
| 43 | +import java.util.Date; |
43 | 44 | import java.util.HashMap; |
44 | 45 | import java.util.HashSet; |
45 | 46 | import java.util.Iterator; |
@@ -102,8 +103,8 @@ public interface Response { |
102 | 103 | boolean getFlag(); |
103 | 104 | char getCharacter(); |
104 | 105 | DayOfWeek getDayOfWeek(); |
105 | | - Long getDate(); |
106 | | - List<Long> getDates(); |
| 106 | + Date getDate(); |
| 107 | + List<Date> getDates(); |
107 | 108 | Instant getInstant(); |
108 | 109 | LocalDate getLocalDate(); |
109 | 110 | LocalTime getLocalTime(); |
@@ -182,7 +183,7 @@ public Number next() { |
182 | 183 | @RequestMethod("GET") |
183 | 184 | public Response testGet(@Required String string, List<String> strings, |
184 | 185 | Integer number, Set<Integer> numbers, boolean flag, char character, DayOfWeek dayOfWeek, |
185 | | - Long date, List<Long> dates, |
| 186 | + Date date, List<Date> dates, |
186 | 187 | Instant instant, LocalDate localDate, LocalTime localTime, LocalDateTime localDateTime, |
187 | 188 | Duration duration, Period period, |
188 | 189 | UUID uuid) { |
@@ -317,7 +318,7 @@ public Coordinates testPostCoordinates(Coordinates coordinates) { |
317 | 318 | @ResourcePath("form-data") |
318 | 319 | @FormData |
319 | 320 | public Map<String, Object> testPostFormData(@Required String string, List<String> strings, |
320 | | - Integer number, Long date, |
| 321 | + Integer number, Date date, |
321 | 322 | Part file, List<Part> files) { |
322 | 323 | var fileSize = 0L; |
323 | 324 |
|
|
0 commit comments