Packages that use org.klomp.snark.web
Package
Description
The I2PSnark web interface (i2psnark.war): servlets and helpers for torrent management, file browsing and configuration.
- Classes in org.klomp.snark.web used by org.klomp.snark.webClassDescriptionBased on DefaultServlet from Jetty 6.1.26, heavily simplified and modified to remove all dependencies on Jetty libs.HTTP content backed by a file on disk.From Jetty HttpContent.java.Renders the three forms of the /configure page - main settings, torrent creation filters, and tracker management - and applies submitted settings back to SnarkManager.Web interface servlet for I2PSnark torrent management: torrent listing and status, adding torrents by file/URL/magnet, torrent creation, peer and bandwidth management, DHT and tracker status, comments, file browsing and download, configuration, and theme/locale support.Result of building the new announce list.Parsed announce parameters from the create torrent form.Cached per-torrent values used by the status-cell destination badge: the four-character base64 destination prefix and the client identity display name, if any.Result of validating a base file for torrent creation.Immutable parameters for rendering the comments/ratings section.Snapshot read atomically from a torrent's comment set: the user's own rating, community rating count and average, and an iterator over the existing comments when any exist.Result of building the announce list.Parsed edit form parameters.Immutable context for rendering a single file row in the torrent file browser.Mutable counters for file row rendering.Aggregated footer state, replacing a twelve-parameter signature.Immutable context for rendering a peer row.Peer status classification result.Per-row and per-render inputs for
I2PSnarkServlet.displaySnark(PrintWriter, I2PSnarkServlet.RowContext, StringBuilder), replacing an eighteen-parameter signature.Request-derived inputs shared by every sortable torrent-list header cell; replaces a thirteen-parameter signature.The mutually exclusive states a torrent row can display, in the evaluation order ofI2PSnarkServlet.classifyStatus(boolean, boolean, boolean, boolean, boolean, boolean, int, int, boolean, boolean).Encapsulates result of status building with HTML output and status keyword.Peer/rate activity flags scanned across one rendered page slice; drives which optional header cells render.Byte range inclusive of end points.Based on MimeTypes from Jetty 6.1.26, heavily simplified and modified to remove all dependencies on Jetty libs.Forward or reverse sort, but the fallback is always forward.Class to precompute and efficiently sort data on a torrent file entry.Forward or reverse sort, but the fallback is always forward.