Bảo Ngô
2 question(s)
0 answer(s)
Avatar
0
Bảo Ngô Beginner
Bảo Ngô Beginner
Ý nghĩa 1 số annotation trong ezyfox library
Hi a, e thấy có annotation này @EzyObjectBinding(write = false). E muốn hỏi mục đích của nó là gì và read, write = false vs true khác nhau ntn. Với lại a có document nào liệt kê các annotation thường dùng ko? ...
Answer
Avatar
0
Bảo Ngô Beginner
Bảo Ngô Beginner
Bàn về cách ezy trả response
@Override protected void execute() throws EzyBadRequestException { if (message.length() > 255) { throw new EzyBadRequestException(ChatErrors.MESSAGE_TOO_LONG, "message too long"); } ChatChannelUsers channelUsers = channelUserService.getChannelUsers(channelId, user.getName()); if (channelUsers == null) { throw new EzyBadRequestException(ChatErrors.CHANNEL_NOT_FOUND, ...
Answer