Skip to content
This repository was archived by the owner on Jul 31, 2022. It is now read-only.

Commit 3d0675c

Browse files
authored
Merge pull request #57 from Ktt-Development/file-handler-update
File Handler Smart Loading +bugfixes
2 parents 670f94d + 24abb7c commit 3d0675c

File tree

4 files changed

+790
-254
lines changed

4 files changed

+790
-254
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
package com.kttdevelopment.simplehttpserver.handler;
2+
3+
/**
4+
* Determines how files will be loaded in the {@link FileHandler}. <br>
5+
*
6+
* <code>PRELOAD</code> - read file when it is added to the handler <br>
7+
* <code>WATCHLOAD</code> - read file when it is added and anytime it is updated <br>
8+
* <code>LIVELOAD</code> - read file each time an exchange happens
9+
*
10+
* @see FileHandler
11+
* @since 03.05.00
12+
* @version 03.05.00
13+
* @author Ktt Development
14+
*/
15+
public enum ByteLoadingOption {
16+
17+
PRELOAD,
18+
WATCHLOAD,
19+
LIVELOAD
20+
21+
}

0 commit comments

Comments
 (0)