This commit is contained in:
@@ -145,10 +145,14 @@ public abstract class Server<K extends Serializable, C extends Context, R extend
|
|||||||
return this.logger;
|
return this.logger;
|
||||||
}
|
}
|
||||||
|
|
||||||
public PrepareServlet<K, C, R, P, S> getPrepareServlet(){
|
public PrepareServlet<K, C, R, P, S> getPrepareServlet() {
|
||||||
return this.prepare;
|
return this.prepare;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public C getContext() {
|
||||||
|
return this.context;
|
||||||
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public void addServlet(S servlet, final Object attachment, AnyValue conf, K... mappings) {
|
public void addServlet(S servlet, final Object attachment, AnyValue conf, K... mappings) {
|
||||||
this.prepare.addServlet(servlet, attachment, conf, mappings);
|
this.prepare.addServlet(servlet, attachment, conf, mappings);
|
||||||
|
|||||||
Reference in New Issue
Block a user