* Websocket implementation * Websocket implementation with Akka Streams * Websocket implementation with Akka Streams * Websocket implementation with Akka Streams * Added configuration options for play server timeout and websocket frame lengths * Cleaned up code for consuming http endpoint in Messenger actor * Cleaned up code for consuming http endpoint in Messenger actor * Cleaned up code for akka streams implementation for websocket * Renamed unit test method * Added Poison Pill for stopping the actor. Fixed indentations. * Refactored the WebSocket method for readability * Refactored the JavaScript for readability * Code refactoring and removing unwanted comments * Added the latest version of jQuery * Removed .gitignore in favor of the one at the project root
		
			
				
	
	
		
			28 lines
		
	
	
		
			481 B
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			481 B
		
	
	
	
		
			Java
		
	
	
	
	
	
| package dto;
 | |
| 
 | |
| public class RequestDTO {
 | |
|     private String message;
 | |
| 
 | |
|     public RequestDTO() {
 | |
|     }
 | |
| 
 | |
|     public RequestDTO(String message) {
 | |
|         this.message = message;
 | |
|     }
 | |
| 
 | |
|     public String getMessage() {
 | |
|         return message;
 | |
|     }
 | |
| 
 | |
|     public void setMessage(String message) {
 | |
|         this.message = message;
 | |
|     }
 | |
| 
 | |
|     @Override
 | |
|     public String toString() {
 | |
|         return "RequestDTO{" +
 | |
|                 "message='" + message + '\'' +
 | |
|                 '}';
 | |
|     }
 | |
| }
 |