| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private String | |
| private String | |
| private InputStream | |
| protected OutputStream | |
| private static final byte[] | |
| private static final byte[] | |
| protected final Socket | |
| private final Thread |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected String | adminShutdown()
Overrides org. Stop the application and the server. |
| private boolean | |
| private boolean | |
| private String | |
| private static String | |
| pack-priv void | |
| private void | |
| private void | |
| private boolean | |
| private boolean | |
| private String | |
| public void | |
| pack-priv void | |
| pack-priv void | |
| private void | |
| private void | |
| private void |
| dataLength | back to summary |
|---|---|
| private int dataLength | |
| host | back to summary |
|---|---|
| private String host | |
| ifModifiedSince | back to summary |
|---|---|
| private String ifModifiedSince | |
| input | back to summary |
|---|---|
| private InputStream input | |
| output | back to summary |
|---|---|
| protected OutputStream output | |
| RN | back to summary |
|---|---|
| private static final byte[] RN | |
| RNRN | back to summary |
|---|---|
| private static final byte[] RNRN | |
| socket | back to summary |
|---|---|
| protected final Socket socket | |
| thread | back to summary |
|---|---|
| private final Thread thread | |
| WebThread | back to summary |
|---|---|
| pack-priv WebThread(Socket socket, WebServer server) | |
| adminShutdown | back to summary |
|---|---|
| protected String adminShutdown() Overrides org. Doc from org. Stop the application and the server. | |
| allow | back to summary |
|---|---|
| private boolean allow() | |
| checkHost | back to summary |
|---|---|
| private boolean checkHost(String host) throws IOException | |
| getAllowedFile | back to summary |
|---|---|
| private String getAllowedFile(String requestedFile) | |
| getHeaderLineValue | back to summary |
|---|---|
| private static String getHeaderLineValue(String line) | |
| join | back to summary |
|---|---|
| pack-priv void join(int millis) throws InterruptedException Wait until the thread is stopped.
| |
| parseAttributes | back to summary |
|---|---|
| private void parseAttributes(String s) | |
| parseBodyAttributes | back to summary |
|---|---|
| private void parseBodyAttributes() throws IOException | |
| parseHeader | back to summary |
|---|---|
| private boolean parseHeader() throws IOException | |
| process | back to summary |
|---|---|
private boolean process() throws IOException
| |
| readHeaderLine | back to summary |
|---|---|
| private String readHeaderLine() throws IOException | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |
| start | back to summary |
|---|---|
| pack-priv void start() Start the thread. | |
| stopNow | back to summary |
|---|---|
| pack-priv void stopNow() Close the connection now. | |
| trace | back to summary |
|---|---|
| private void trace(String s) | |
| writeSimple | back to summary |
|---|---|
| private void writeSimple(String status, String text) throws IOException | |
| writeSimple | back to summary |
|---|---|
| private void writeSimple(String status, byte[] bytes) throws IOException | |