@Retention(value=RUNTIME) @Target(value=METHOD) public static @interface HTTPServer.Context
Context annotation decorates methods which are mapped
to a context (path) within the server, and provide its contents.
The annotated methods must have the same signature and contract
as HTTPServer.ContextHandler.serve(org.noear.solon.boot.jlhttp.HTTPServer.Request, org.noear.solon.boot.jlhttp.HTTPServer.Response), but can have arbitrary names.
public abstract String value
public abstract String[] methods
Copyright © 2022. All rights reserved.