vibe-project / vibe-java-platform

Vibe Java Platform
http://vibe-project.github.io/projects/vibe-java-platform/
Apache License 2.0
6 stars 1 forks source link

Introduce transformer instead of instantiating VertxServerHttpExchange and VertxServerWebSocket #31

Closed flowersinthesand closed 9 years ago

flowersinthesand commented 9 years ago

Transformer is a general interface to process the platform's resources modeling HTTP request-response or WebSocket into ServerHttpExchange and ServerWebSocket respectively like VibeServlet of Servlet and VibeServerCodec of Netty. It is only interface for user to be aware.

Accordingly direct instantiation of implementation of ServerHttpExchange and ServerWebSocket will be not recommended.