公园
轻松构建像express一样的宁静应用程序!
##例子:
public static void main( String [] args) {
App app = new JettyApp ( 8000 );
app . use((req,res,next) - > {
try {
next . apply();
} catch ( Exception e){
System . out . println(e . getClass());
e . printStackTrace();
}
});
app . use((req,res,next) - > {
long begin = System . currentTimeMillis();
next . apply();
long end = System . curren
2021-07-14 13:03:45
29KB
Java
1