Skip to content

Commit

Permalink
small modify
Browse files Browse the repository at this point in the history
  • Loading branch information
tywo45 committed May 17, 2019
1 parent 550dd76 commit 428ba00
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,12 @@
*
*/
public class HttpServerAioHandler implements ServerAioHandler {
private static Logger log = LoggerFactory.getLogger(HttpServerAioHandler.class);

public static final String REQUEST_KEY = "tio_request_key";

protected HttpConfig httpConfig;

// protected Routes routes = null;

// public HttpServerAioHandler(HttpRequestHandler requestHandler) {
// this.requestHandler = requestHandler;
// }

private HttpRequestHandler requestHandler;

// public HttpServerAioHandler(HttpConfig httpConfig, HttpRequestHandler requestHandler) {
// this(httpConfig, requestHandler);
//// this.routes = routes;
// }
private static Logger log = LoggerFactory.getLogger(HttpServerAioHandler.class);
public static final String REQUEST_KEY = "tio_request_key";
protected HttpConfig httpConfig;
private HttpRequestHandler requestHandler;

/**
*
*
* @author tanyaowu
* 2016年11月18日 上午9:13:15
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,24 +40,17 @@
* @author tanyaowu
*/
public class HttpServerStarter {
private static Logger log = LoggerFactory.getLogger(HttpServerStarter.class);

private HttpConfig httpConfig = null;

private HttpServerAioHandler httpServerAioHandler = null;

private HttpServerAioListener httpServerAioListener = null;

private ServerGroupContext serverGroupContext = null;

private TioServer tioServer = null;

private HttpRequestHandler httpRequestHandler;

private static Logger log = LoggerFactory.getLogger(HttpServerStarter.class);
private HttpConfig httpConfig = null;
private HttpServerAioHandler httpServerAioHandler = null;
private HttpServerAioListener httpServerAioListener = null;
private ServerGroupContext serverGroupContext = null;
private TioServer tioServer = null;
private HttpRequestHandler httpRequestHandler;
/**
* 预访问路径的后缀
*/
private List<String> preAccessFileType = new ArrayList<>();
private List<String> preAccessFileType = new ArrayList<>();

/**
*
Expand Down

0 comments on commit 428ba00

Please sign in to comment.