- Timestamp:
- 01/28/20 10:19:55 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/geniusweb/profilesserver/websocket/ProfilesListSocket.java
r5 r8 24 24 import javax.websocket.server.ServerEndpoint; 25 25 26 import com.fasterxml.jackson.databind.ObjectMapper; 27 26 import geniusweb.profilesserver.Jackson; 28 27 import geniusweb.profilesserver.ProfilesFactory; 29 28 import geniusweb.profilesserver.events.ChangeEvent; … … 83 82 log.log(Level.FINER, "sending updated profiles"); 84 83 session.getBasicRemote().sendText( 85 new ObjectMapper().writeValueAsString(getDomainsProfiles()));84 Jackson.instance().writeValueAsString(getDomainsProfiles())); 86 85 } 87 86
Note:
See TracChangeset
for help on using the changeset viewer.