ninja icon indicating copy to clipboard operation
ninja copied to clipboard

Refactor Results out of Ninja.java

Open raphaelbauer opened this issue 9 years ago • 0 comments

Currently Ninja.java contains methods that generate default results. But the scope of Ninja.java is actually different (it's more a lifecycle of request / framework class).

We should fix that and make responsibilities more clear.

Ideas: NinjaRequestLifecycle.java => all onRequest / onException methods NinjaFrameworkLifecycle.java => all onFrameworkStart / onFrameworkStop methods NinjaResults.java => all getXYZResult methods

But that's just an idea...

raphaelbauer avatar Mar 20 '15 20:03 raphaelbauer