|
VIBE v5.1.6
Search Engine
|
Classes | |
| class | ShutdownServlet |
Public Member Functions | |
| SearchServer (int port, ThreadSafeInvertedIndex index, Processor processor, WorkQueue queue) throws IOException | |
| void | launch () throws Exception |
| String | toString () |
Static Public Member Functions | |
| static void | changeTheme () |
Static Public Attributes | |
| static String | theme = "<html lang=\"en\" data-theme=\"light\">" |
| static final Path | base = Path.of("src", "main", "resources", "template") |
Server for the Search Engine.
| edu.usfca.cs272.SearchServer.SearchServer | ( | int | port, |
| ThreadSafeInvertedIndex | index, | ||
| Processor | processor, | ||
| WorkQueue | queue ) throws IOException |
Host the server on localhost.
| port | the port on which to host the server. |
| index | the index to perform search on |
| processor | the processor to perform search on index. |
|
static |
Changes the theme of the webpages.
| void edu.usfca.cs272.SearchServer.launch | ( | ) | throws Exception |
Launches the server.
| Exception | if the server cannot be started. |
|
static |
Base path for the resource templates.
|
static |
The theme for the web pages. The default theme is light.