Here is my interface:
public interface SCIMServiceStub {
@RequestLine("GET /Users/{id}")
SCIMUser getUser(@Param("id") String id);
@RequestLine("GET /Groups?filter=displayName+Eq+{roleName}")
SCIMGroup isValidRole(@Param("roleName") String roleName);
}
Here getUser
call works fine.
But isValidRole
is not working properly as the request is eventually sent like this.
/Groups?filter=displayName+Eq+{roleName}
Here {roleName}
is not resolved.
What am I missing here? Appreciate some help, as I'm clueless at this point.
Edit: One more question: Is there a way to avoid automatic url encoding of query parameters?