Skip navigation links

Package org.ka2ddo.yaac.webserver

The package contains the classes that implement YAAC's mini webserver, which allows other users on the YAAC computer's LAN to effectively "look over the shoulder" of the YAAC operator, seeing the main views of YAAC as browseable web pages.

See: Description

Package org.ka2ddo.yaac.webserver Description

The package contains the classes that implement YAAC's mini webserver, which allows other users on the YAAC computer's LAN to effectively "look over the shoulder" of the YAAC operator, seeing the main views of YAAC as browseable web pages.

The HttpServer class is the main thread that accepts inbound connections from browsers, defaulting to listening on TCP port 8008 (because the normal HTTP port 80 is often considered as "privileged" and therefore not allocatable by non-administrator users).

HttpConnectionThread serves one browser connection, and can launch a page for any registered URL that is provided by a class extending the PathHandler abstract class. Pages currently implemented include:

URLClassFunction
/IndexPagehome page displaying a title, the map, and links to other pages
/map.pngMapPagethe actual map image in PNG format
/stationsStationsPagethe Stations/Objects list as a table
/icon/*IconPageone of the APRS symbol images as specified by the following path
/bulletinsBulletinsPagethe Bulletin Board display
/messagesMessagesPagethe Raw messages (not Raw Packets) view
/history/callsignHistoryPagethe per-station raw packets view
URLs of defined pages in mini-webserver

Adding other pages will require modifying HttpConnectionThread to register the new page handlers with appropriate URLs.

Skip navigation links