poohbar
04/19/2018, 1:09 PMpoohbar
04/19/2018, 1:09 PM@HasRequestParam("name")
since query strings without values are perfectly valid..poohbar
04/19/2018, 1:13 PM@RequestParam("success") success : String
works just fine, it's an empty string when the flag is there and null otherwise..visakha
04/19/2018, 2:26 PMthatadamedwards
04/19/2018, 2:30 PMvisakha
04/19/2018, 2:53 PMandyb
04/19/2018, 2:57 PMpoohbar
04/19/2018, 3:27 PMjk
04/19/2018, 3:46 PMtmg
04/19/2018, 4:04 PMsdeleuze
04/22/2018, 1:12 PMPere Casafont
04/22/2018, 6:57 PMPere Casafont
04/22/2018, 6:58 PMsdeleuze
04/22/2018, 7:10 PMPere Casafont
04/22/2018, 7:11 PMPere Casafont
04/22/2018, 7:17 PMfun upload
sdeleuze
04/22/2018, 7:28 PMPere Casafont
04/22/2018, 7:36 PM@RequestParam
like in the servlets way (and I still recall when I got stuck there for trying to capture files as @RequestBody
, which is what makes sense :D)
thank you!Pere Casafont
04/22/2018, 8:13 PMsdeleuze
04/22/2018, 8:41 PMdiesieben07
04/23/2018, 11:39 AMJpaMetamodelEntityInformation
, just wondering if I am missing something.gimlet
04/24/2018, 9:15 AM@GetMapping("/history")
fun decisionPointHistory(@RequestParam(name = "name") name: String,
pageable: Pageable,
@RequestParam(name = "from", required = false) fromRevision: Int? = null,
@RequestParam(name = "to", required = false) toRevision: Int? = null): Page<HistoryDTO>
. and it was fine till now. I see Caused by: java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'deciderController' method
public static org.springframework.data.domain.Page com.ps.smartgateway.controllers.config.DeciderController.decisionPointHistory$default(com.ps.smartgateway.controllers.config.DeciderController,java.lang.String,org.springframework.data.domain.Pageable,java.lang.Integer,java.lang.Integer,int,java.lang.Object)
to {[/config/decider/history],methods=[GET]}: There is already 'deciderController' bean method
public org.springframework.data.domain.Page<com.ps.smartgateway.dto.HistoryDTO> com.ps.smartgateway.controllers.config.DeciderController.decisionPointHistory(java.lang.String,org.springframework.data.domain.Pageable,java.lang.Integer,java.lang.Integer) mapped.
in crash logs. When I decompile from kotlin to java I found that decisionPointHistory$default
was annotated with // $FF: bridge method
before and now it's only // $FF: synthetic method
. That is only difference I see there. Does anyone here knows anything about it?gimlet
04/24/2018, 9:18 AMnull
value solves issue here, but probably there is some sort of issue with compiler anyway.sdeleuze
04/24/2018, 9:19 AMsdeleuze
04/24/2018, 9:20 AMgimlet
04/24/2018, 9:20 AMsdeleuze
04/24/2018, 9:20 AMgimlet
04/24/2018, 9:26 AMhho
04/24/2018, 9:33 AM