Giter Site home page Giter Site logo

hulk's People

Contributors

reneweb avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

hulk's Issues

Consolidate action API

Currently there are three different types of action, which are Sync/Async/WebSocket action. It is not possible to implement filters for WebSocket actions and having Sync and Async actions makes it complex to create filters. I wouldn't mind dropping Sync action as most of the time people will use async anyway and there is Future.successful if you have some sync result and want to pass it to async action. There is still a question though how to enable filters for websocket action.

Introduce support for x-www-form-urlencoded requests

Currently there is nothing provided that parses x-www-form-urlencoded requests into a nice format. It is still possible to get the raw bytes or as plain text, but it would be much nicer to have an appropriate structure.

Data for mustache requires to be java collections

The mustache template engine that is used requires that all the data structures used are java collections. The map that is passed as the root collection is already translated into a java collection. However, if there are nested collections these are currently not converted and therefore need to be converted by the user. The solution should be to recursively check the nested objects for convertable collection types (convertable via the JavaConverters) and then do the conversion if possible. Other solution would be to look for another mustache templating engine that already supports scala.

Extend readme

The read me currently only covers the very basic usage. It should be extended to include more usage information.

Consolidate filter API

Currently filters are different for global ones vs action specific ones. Would be nice to consolidate (this could also be useful to introduce filters in websocket actions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.