The public PushContext API is now guarded against illegal arguments as follows:
- public void addGroupMember(String groupName, String pushID)
- Argument groupName cannot be null or empty.
- Argument pushID cannot be null or empty.
- public void addGroupMember(String groupName, String pushID, PushConfiguration pushConfiguration)
- Argument groupName cannot be null or empty.
- Argument pushID cannot be null or empty.
- public void backOff(String browserID, long delay)
- Argument browserID cannot be null or empty.
- Argument delay cannot be less than 0.
- public synchronized String createPushId(HttpServletRequest request, HttpServletResponse response)
- Argument request cannot be null.
- Argument response cannot be null.
- public void push(String groupName)
- Argument groupName cannot be null or empty.
- public void push(String groupName, String payload)
- Argument groupName cannot be null or empty.
- public void push(String groupName, PushConfiguration pushConfiguration)
- Argument groupName cannot be null or empty.
- public void push(String groupName, String payload, PushConfiguration pushConfiguration)
- Argument groupName cannot be null or empty.
- public void removeGroupMember(String groupName, String pushID)
- Argument groupName cannot be null or empty.
- Argument pushID cannot be null or empty.
- public static synchronized PushContext getInstance(ServletContext servletContext)
- Argument servletContext cannot be null.
Marking this one as FIXED.
Sending core/src/main/java/org/icepush/PushContext.java
Transmitting file data .
Committed revision 47791.