Some small fixes
This commit is contained in:
parent
f7b9a08e43
commit
1c1ef5ab66
2 changed files with 2 additions and 2 deletions
|
|
@ -275,7 +275,7 @@ public class HttpPrintStream extends OutputStream {
|
|||
}
|
||||
|
||||
/**
|
||||
* @return true if headers has been sent. The setHeader, setStatusCode, setCookie method will throw IllegalStateException
|
||||
* @return true if headers has been sent. The setHeader, setResponseStatusCode, setCookie method will throw IllegalStateException
|
||||
*/
|
||||
public boolean isHeaderSent() {
|
||||
return header == null;
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ public class HttpServer extends ThreadedTCPNetworkServer{
|
|||
ScheduledExecutorService exec = Executors.newSingleThreadScheduledExecutor();
|
||||
exec.scheduleWithFixedDelay(new SessionGarbageCollector(), 10000, SESSION_TTL / 2, TimeUnit.MILLISECONDS);
|
||||
|
||||
logger.info("HTTP"+(keyStore==null?"":"S")+" Server ready!");
|
||||
logger.info("HTTP"+(keyStore==null ? "" : "S")+" Server ready and listening to port: " + port);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue