This commit is contained in:
RedKale
2016-02-24 11:25:03 +08:00
parent a99413f49d
commit d2f684ce66
12 changed files with 14 additions and 2 deletions

View File

@@ -116,6 +116,7 @@ public abstract class Server<K extends Serializable, C extends Context, R extend
return this.logger;
}
@SuppressWarnings("unchecked")
public void addServlet(S servlet, final Object attachment, AnyValue conf, K... mappings) {
this.prepare.addServlet(servlet, attachment, conf, mappings);
}