Packages that use BasicServlet.HttpContent
Package
Description
The I2PSnark web interface (i2psnark.war): servlets and helpers for torrent management, file browsing and configuration.
Uses of BasicServlet.HttpContent in org.klomp.snark.web
Classes in org.klomp.snark.web that implement BasicServlet.HttpContentModifier and TypeClassDescriptionprivate classHTTP content backed by a file on disk.private classHTTP content backed by an entry in the war file.private classFile content with byte limit.Methods in org.klomp.snark.web that return BasicServlet.HttpContentModifier and TypeMethodDescriptionBasicServlet.getContent(String pathInContext, long limit) Resource to serve, mapping a path to a resource.Methods in org.klomp.snark.web with parameters of type BasicServlet.HttpContentModifier and TypeMethodDescriptionprotected booleanBasicServlet.passConditionalHeaders(HttpServletRequest request, HttpServletResponse response, BasicServlet.HttpContent content) Check modification date headers.protected voidBasicServlet.sendData(HttpServletRequest request, HttpServletResponse response, BasicServlet.HttpContent content) Sends the content to the client, handling range requests.protected voidBasicServlet.writeHeaders(HttpServletResponse response, BasicServlet.HttpContent content, long count) Write response headers for the content.