All Classes and Interfaces

Class
Description
Abstract base class for resources which resolve URLs into File references, such as UrlResource or ClassPathResource.
Convenience base class for Resource implementations, pre-implementing typical behavior.
Abstract class providing functionality for finding resources based on an Http Servlet request.
Provides access to package protected methods.
Executes the done filters matching an HTTP request.
Executes the after filters matching an HTTP request.
Assertion utility class that assists in validating arguments.
 
Executes the Before filters matching an HTTP request.
Represents the 'body'
Bytes serializer.
Resource implementation for class path resources.
Locates resources in classpath Code snippets copied from Eclipse Jetty source.
Miscellaneous class utility methods.
Miscellaneous collection utility methods.
Holds the custom error pages.
 
Serializer that writes the result of toString to output in UTF-8 encoding
Protecting against Directory traversal
 
Creates instances of embedded jetty containers.
Spark server implementation
Represents an embedded server that can be used in Spark.
 
Holds and uses the factories for creating different Embedded servers.
 
Created by Per Wendel on 2014-05-10.
 
 
Types and methods annotated with this annotation are experimental and may be changed or removed from the API at any time.
Created by Per Wendel on 2014-05-18.
Locates resources from external folder Code snippets copied from Eclipse Jetty source.
Created by Per Wendel on 2014-05-10.
FilterImpl is created from a path, acceptType and Filter.
 
Modifies the HTTP response and body based on the provided exception and request/response wrappers.
GZIP utility class.
Used instead of lambdas due to risk for java.lang.IncompatibleClassChangeError.
Modifies the HTTP response and body based on the provided HaltException.
Exception used for stopping the execution
 
Http request wrapper.
Simple interface for objects that are sources for an InputStream.
Input stream serializer.
General IO stream manipulation utilities.
Simple Jetty Handler
Creates Jetty Server instances.
This interface can be implemented to provide custom Jetty server instances with specific settings or features.
Matches Spark routes and filters.
MIME-Type Parser
Structure for holding a fitness/quality combo
Parse results container
Configures and holds mappings from file extensions to MIME types.
Model And View class is used to set the name of the view and the model object to be rendered.
Used to indicate that a feature is not supported for the specific embedded server.
Miscellaneous object utility methods.
These objects represent the parameters sent on a Http Request.
 
Provides redirect utility methods.
The available redirect status codes.
Provides information about the HTTP request
 
 
Interface for a resource descriptor that abstracts from the actual type of underlying resource, such as a file or class path resource.
Utility methods for resolving resource locations to files in the file system.
Provides functionality for modifying the response
A ResponseTransformer holds the implementation of the 'render' method.
A ResponseTransformerRouteImpl is built up by a path (for url-matching) and the implementation of the 'render' method.
 
Routable abstract class.
Created by Per Wendel on 2014-05-10.
Holds the parameters needed in the Before filters, Routes and After filters execution.
Class that holds information about routes
 
RouteImpl is created from a path, acceptType and Route.
 
Created by Per Wendel on 2016-01-28.
Holds the routes and performs matching from HTTP requests to routes.
Class that serializers and writes the result to given output stream.
Chain of serializers for the output.
Represents a Spark server "session".
Holds the global information if Spark was run from an "external" web application server.
Holds the servlet routes.
Provides session information.
Deprecated.
see Routes
Creates socket connectors.
The main building block of a Spark application is a set of routes.
Initializes singleton.
The application entry point when Spark is run in a servlet context.
Filter that can be configured to be used in a web.xml file.
Some utility methods
SSL Stores
Holds the static file configuration.
Created by Per Wendel on 2016-11-05.
Miscellaneous String utility methods.
A Template holds the implementation of the 'render' method.
A TemplateViewRoute is built up by a path.
A TemplateViewRoute is built up by a path (for url-matching) and the implementation of the 'render' method.
TYPE Utilities.
Used for converting URL paths.
 
Utf8 Appendable abstract base class This abstract class wraps a standard Appendable and provides methods to append UTF-8 encoded bytes, that are converted into characters.
 
UTF-8 StringBuilder.
Factory class to create WebSocketCreator implementations that delegate to the given handler class.
 
 
 
A wrapper for web socket handler classes/instances.
Creates websocket servlet context handlers.
Created by Per Wendel on 2016-04-25.