public interface SimpleServer extends Closeable
Modifier and Type | Method and Description |
---|---|
int |
getPort()
The port the server is listening to for incomming HTTP connections.
|
boolean |
isDebug()
If this is true then very low level I/O operations are logged.
|
void |
setDebug(boolean enable)
To enable very low level logging this can be enabled.
|
int getPort()
Container.DEFAULT_PORT
is used.boolean isDebug()
true
if debug is enabled, false otherwise.void setDebug(boolean enable)
enable
- if true
debug tracing will be enabled.Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.