Zutil updates
This commit is contained in:
parent
7e957bc34e
commit
7bf6896473
22 changed files with 55 additions and 83 deletions
|
|
@ -27,7 +27,7 @@ import wa.server.plugin.WAConfigEntry;
|
|||
import wa.server.plugin.WAServiceConfig;
|
||||
import zutil.io.file.FileUtil;
|
||||
import zutil.log.LogUtil;
|
||||
import zutil.net.http.HttpHeaderParser;
|
||||
import zutil.net.http.HttpHeader;
|
||||
import zutil.parser.DataNode;
|
||||
import zutil.parser.Templator;
|
||||
import zutil.ui.Configurator;
|
||||
|
|
@ -59,7 +59,7 @@ public class ConfigPage implements WAPage{
|
|||
|
||||
@Override
|
||||
public Templator htmlResponse(WAContext context,
|
||||
HttpHeaderParser client_info,
|
||||
HttpHeader client_info,
|
||||
Map<String, Object> session,
|
||||
Map<String, String> cookie,
|
||||
Map<String, String> request) {
|
||||
|
|
@ -108,7 +108,7 @@ public class ConfigPage implements WAPage{
|
|||
|
||||
@Override
|
||||
public DataNode jsonResponse(WAContext context,
|
||||
HttpHeaderParser client_info,
|
||||
HttpHeader client_info,
|
||||
Map<String, Object> session,
|
||||
Map<String, String> cookie,
|
||||
Map<String, String> request) {
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ package wa.server.page;
|
|||
|
||||
import wa.server.plugin.WALog;
|
||||
import zutil.net.http.HttpHeader;
|
||||
import zutil.net.http.HttpHeaderParser;
|
||||
import zutil.net.http.HttpPage;
|
||||
import zutil.net.http.HttpPrintStream;
|
||||
import zutil.parser.DataNode;
|
||||
|
|
|
|||
|
|
@ -24,11 +24,11 @@ package wa.server.page;
|
|||
|
||||
import wa.server.WAContext;
|
||||
import wa.server.page.struct.WANavigation;
|
||||
import wa.server.plugin.WAServiceConfig;
|
||||
import wa.server.plugin.WAService;
|
||||
import wa.server.plugin.WAServiceConfig;
|
||||
import zutil.io.file.FileUtil;
|
||||
import zutil.log.LogUtil;
|
||||
import zutil.net.http.HttpHeaderParser;
|
||||
import zutil.net.http.HttpHeader;
|
||||
import zutil.parser.DataNode;
|
||||
import zutil.parser.Templator;
|
||||
import zutil.plugin.PluginManager;
|
||||
|
|
@ -80,7 +80,7 @@ public class ServicePage implements WAPage {
|
|||
|
||||
@Override
|
||||
public Templator htmlResponse(WAContext context,
|
||||
HttpHeaderParser client_info,
|
||||
HttpHeader client_info,
|
||||
Map<String, Object> session,
|
||||
Map<String, String> cookie,
|
||||
Map<String, String> request) {
|
||||
|
|
@ -116,7 +116,7 @@ public class ServicePage implements WAPage {
|
|||
}
|
||||
|
||||
public DataNode jsonResponse(WAContext context,
|
||||
HttpHeaderParser client_info,
|
||||
HttpHeader client_info,
|
||||
Map<String, Object> session,
|
||||
Map<String, String> cookie,
|
||||
Map<String, String> request){
|
||||
|
|
|
|||
6
src/wa/server/page/ServiceStatusPage.java
Normal file → Executable file
6
src/wa/server/page/ServiceStatusPage.java
Normal file → Executable file
|
|
@ -27,7 +27,7 @@ import wa.server.page.struct.WANavigation;
|
|||
import wa.server.plugin.WAServiceStatus;
|
||||
import zutil.io.file.FileUtil;
|
||||
import zutil.log.LogUtil;
|
||||
import zutil.net.http.HttpHeaderParser;
|
||||
import zutil.net.http.HttpHeader;
|
||||
import zutil.parser.DataNode;
|
||||
import zutil.parser.Templator;
|
||||
import zutil.plugin.PluginManager;
|
||||
|
|
@ -64,7 +64,7 @@ public class ServiceStatusPage implements WAPage {
|
|||
|
||||
@Override
|
||||
public Templator htmlResponse(WAContext context,
|
||||
HttpHeaderParser client_info,
|
||||
HttpHeader client_info,
|
||||
Map<String, Object> session,
|
||||
Map<String, String> cookie,
|
||||
Map<String, String> request) {
|
||||
|
|
@ -80,7 +80,7 @@ public class ServiceStatusPage implements WAPage {
|
|||
}
|
||||
|
||||
public DataNode jsonResponse(WAContext context,
|
||||
HttpHeaderParser client_info,
|
||||
HttpHeader client_info,
|
||||
Map<String, Object> session,
|
||||
Map<String, String> cookie,
|
||||
Map<String, String> request){
|
||||
|
|
|
|||
6
src/wa/server/page/StatusPage.java
Normal file → Executable file
6
src/wa/server/page/StatusPage.java
Normal file → Executable file
|
|
@ -25,7 +25,7 @@ package wa.server.page;
|
|||
import wa.server.WAContext;
|
||||
import wa.server.page.struct.WANavigation;
|
||||
import wa.server.plugin.WAStatus;
|
||||
import zutil.net.http.HttpHeaderParser;
|
||||
import zutil.net.http.HttpHeader;
|
||||
import zutil.parser.DataNode;
|
||||
import zutil.parser.Templator;
|
||||
import zutil.plugin.PluginManager;
|
||||
|
|
@ -52,7 +52,7 @@ public class StatusPage implements WAPage {
|
|||
|
||||
@Override
|
||||
public Templator htmlResponse(WAContext context,
|
||||
HttpHeaderParser client_info,
|
||||
HttpHeader client_info,
|
||||
Map<String, Object> session,
|
||||
Map<String, String> cookie,
|
||||
Map<String, String> request) {
|
||||
|
|
@ -65,7 +65,7 @@ public class StatusPage implements WAPage {
|
|||
}
|
||||
|
||||
public DataNode jsonResponse(WAContext context,
|
||||
HttpHeaderParser client_info,
|
||||
HttpHeader client_info,
|
||||
Map<String, Object> session,
|
||||
Map<String, String> cookie,
|
||||
Map<String, String> request){
|
||||
|
|
|
|||
6
src/wa/server/page/WAPage.java
Normal file → Executable file
6
src/wa/server/page/WAPage.java
Normal file → Executable file
|
|
@ -23,7 +23,7 @@
|
|||
package wa.server.page;
|
||||
|
||||
import wa.server.WAContext;
|
||||
import zutil.net.http.HttpHeaderParser;
|
||||
import zutil.net.http.HttpHeader;
|
||||
import zutil.parser.DataNode;
|
||||
import zutil.parser.Templator;
|
||||
|
||||
|
|
@ -35,13 +35,13 @@ import java.util.Map;
|
|||
public interface WAPage {
|
||||
|
||||
public abstract Templator htmlResponse(WAContext context,
|
||||
HttpHeaderParser client_info,
|
||||
HttpHeader client_info,
|
||||
Map<String, Object> session,
|
||||
Map<String, String> cookie,
|
||||
Map<String, String> request);
|
||||
|
||||
public DataNode jsonResponse(WAContext context,
|
||||
HttpHeaderParser client_info,
|
||||
HttpHeader client_info,
|
||||
Map<String, Object> session,
|
||||
Map<String, String> cookie,
|
||||
Map<String, String> request);
|
||||
|
|
|
|||
2
src/wa/server/page/struct/WAAlert.java
Normal file → Executable file
2
src/wa/server/page/struct/WAAlert.java
Normal file → Executable file
|
|
@ -22,8 +22,6 @@
|
|||
|
||||
package wa.server.page.struct;
|
||||
|
||||
import java.sql.Struct;
|
||||
|
||||
/**
|
||||
* Created by Ziver on 2015-04-03.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue