Create FileUploadInbound.java

the server side code. A Tomcat WebSocketServlet based code. You can achieve your own WebSocket Server.