Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- scanDataUntilBoundary(InputStream, OutputStream, byte[]) - Method in class com.blackrook.small.multipart.MultipartParser
-
Scans an input stream into an output stream until it hits a part boundary.
- scanLine(InputStream) - Method in class com.blackrook.small.multipart.MultipartParser
-
Scans and returns the next line.
- scanMethod(Method) - Method in class com.blackrook.small.dispatch.controller.ControllerComponent
- scanMethod(Method) - Method in class com.blackrook.small.dispatch.DispatchComponent
- scanMethod(Method) - Method in class com.blackrook.small.dispatch.filter.FilterComponent
- scanMethod(Method) - Method in class com.blackrook.small.SmallComponent
-
Called to handle a single method scan for this component type.
- scope() - Element in annotation interface com.blackrook.small.annotation.dispatch.Attribute
- ScopeType - Enum Class in com.blackrook.small.enums
-
Attribute scope type.
- sendAsyncBinary(byte[]) - Method in class com.blackrook.small.SmallEndpoint
-
Sends binary data, asynchronously, to the client.
- sendAsyncBinary(ByteBuffer) - Method in class com.blackrook.small.SmallEndpoint
-
Sends binary data, asynchronously, to the client.
- sendAsyncJSON(Object) - Method in class com.blackrook.small.SmallEndpoint
-
Sends a JSON Object, asynchronously, to the client.
- sendAsyncText(String) - Method in class com.blackrook.small.SmallEndpoint
-
Sends a message string, asynchronously, to the client.
- sendAsyncXML(Object) - Method in class com.blackrook.small.SmallEndpoint
-
Sends a JSON Object, asynchronously, to the client.
- sendBinary(byte[]) - Method in class com.blackrook.small.SmallEndpoint
-
Sends binary data, synchronously, to the client.
- sendBinary(ByteBuffer) - Method in class com.blackrook.small.SmallEndpoint
-
Sends binary data, synchronously, to the client.
- sendBinaryPartial(byte[], boolean) - Method in class com.blackrook.small.SmallEndpoint
-
Sends binary data, synchronously, to the client, hinting that it may not be the last one in the complete message.
- sendBinaryPartial(ByteBuffer, boolean) - Method in class com.blackrook.small.SmallEndpoint
-
Sends binary data, synchronously, to the client, hinting that it may not be the last one in the complete message.
- sendContent(HttpServletRequest, HttpServletResponse, String, Object) - Static method in class com.blackrook.small.util.SmallUtils
-
Writes a content object to the client.
- sendData(InputStream) - Method in class com.blackrook.small.SmallEndpoint
-
Sends a stream of data, synchronously, until the end of the stream.
- sendData(InputStream, int) - Method in class com.blackrook.small.SmallEndpoint
-
Sends a stream of data, synchronously, until the end of the stream.
- sendData(HttpServletResponse, InputStream) - Static method in class com.blackrook.small.util.SmallResponseUtils
-
Sends the entire contents of a stream out through the response.
- sendData(HttpServletResponse, InputStream, Long) - Static method in class com.blackrook.small.util.SmallResponseUtils
-
Sends the contents of a stream out through the response.
- sendData(HttpServletResponse, String, InputStream, Long) - Static method in class com.blackrook.small.util.SmallResponseUtils
-
Sends the contents of a stream out through the response.
- sendData(HttpServletResponse, String, String, InputStream, Long) - Static method in class com.blackrook.small.util.SmallResponseUtils
-
Sends the contents of a stream out through the response.
- sendData(HttpServletResponse, String, String, String, InputStream, Long) - Static method in class com.blackrook.small.util.SmallResponseUtils
-
Sends the contents of a stream out through the response.
- sendError(HttpServletResponse, int, String) - Static method in class com.blackrook.small.util.SmallResponseUtils
-
Sends request to the error page with a status code.
- sendFile(HttpServletResponse, String, File) - Static method in class com.blackrook.small.util.SmallResponseUtils
-
Sends a file to the client.
- sendFileContents(File) - Method in class com.blackrook.small.SmallEndpoint
-
Sends the contents of a file as a stream of data, synchronously, until the end of the file.
- sendFileContents(File, int) - Method in class com.blackrook.small.SmallEndpoint
-
Sends the contents of a file as a stream of data, synchronously, until the end of the file.
- sendFileContents(HttpServletResponse, String, File) - Static method in class com.blackrook.small.util.SmallResponseUtils
-
Sends contents of a file to the client.
- sendFileContents(HttpServletResponse, String, String, File) - Static method in class com.blackrook.small.util.SmallResponseUtils
-
Sends the contents of a file to the client.
- sendFileContents(HttpServletResponse, String, String, String, File) - Static method in class com.blackrook.small.util.SmallResponseUtils
-
Sends the contents of a file to the client.
- sendJSON(Object) - Method in class com.blackrook.small.SmallEndpoint
-
Sends a JSON Object, synchronously, to the client.
- sendRedirect(HttpServletResponse, String) - Static method in class com.blackrook.small.util.SmallResponseUtils
-
Forwards the client abruptly to another document or servlet (new client request).
- sendStringData(HttpServletResponse, String) - Static method in class com.blackrook.small.util.SmallResponseUtils
-
Writes string data to the response as "text/plain".
- sendStringData(HttpServletResponse, String, String) - Static method in class com.blackrook.small.util.SmallResponseUtils
-
Writes string data to the response.
- sendStringData(HttpServletResponse, String, String, String) - Static method in class com.blackrook.small.util.SmallResponseUtils
-
Writes string data to the response.
- sendText(String) - Method in class com.blackrook.small.SmallEndpoint
-
Sends a message string, synchronously, to the client.
- sendTextPartial(String, boolean) - Method in class com.blackrook.small.SmallEndpoint
-
Sends a message string, synchronously, to the client, hinting that it may not be the last one in the complete message.
- sendXML(Object) - Method in class com.blackrook.small.SmallEndpoint
-
Sends an XML Document, synchronously, to the client.
- service(HttpServletRequest, HttpServletResponse) - Method in class com.blackrook.small.SmallServlet
- SERVLET_CONTEXT - Enum constant in enum class com.blackrook.small.dispatch.DispatchEntryPoint.Source
- SERVLET_REQUEST - Enum constant in enum class com.blackrook.small.dispatch.DispatchEntryPoint.Source
- SERVLET_RESPONSE - Enum constant in enum class com.blackrook.small.dispatch.DispatchEntryPoint.Source
- SESSION - Enum constant in enum class com.blackrook.small.dispatch.DispatchEntryPoint.Source
- SESSION - Enum constant in enum class com.blackrook.small.enums.ScopeType
-
Session scope.
- sessionCreated(HttpSessionEvent) - Method in class com.blackrook.small.SmallEnvironment
- sessionCreated(HttpSessionEvent) - Method in class com.blackrook.small.SmallServlet
- sessionDestroyed(HttpSessionEvent) - Method in class com.blackrook.small.SmallEnvironment
- sessionDestroyed(HttpSessionEvent) - Method in class com.blackrook.small.SmallServlet
- setContentType(String) - Method in class com.blackrook.small.multipart.Part
-
Sets the content type on this part.
- setFieldValue(Object, Field, Object) - Static method in class com.blackrook.small.struct.Utils
-
Sets the value of a field on an object.
- setFile(File) - Method in class com.blackrook.small.multipart.Part
-
Sets the file on this part.
- setFileName(String) - Method in class com.blackrook.small.multipart.Part
-
Sets the file name of this Part.
- setMIMEType(String, String) - Method in class com.blackrook.small.roles.DefaultMIMETypeDriver
-
Sets the corresponding type of an extension.
- setModelFields(HttpServletRequest, Class<T>) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Sets the fields on a new instance of an object, using its public fields and setters, using the servlet request as a source.
- setModelFields(HttpServletRequest, T) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Sets the fields on an object, using its public fields and setters, using the servlet request as a source.
- setName(String) - Method in class com.blackrook.small.multipart.Part
-
Sets the name of this Part.
- setValue(String) - Method in class com.blackrook.small.multipart.Part
-
Sets the value of this part, if not a file.
- simulateLag(long) - Static method in class com.blackrook.small.util.SmallUtils
-
Pauses the current thread for up to
maxMillis
milliseconds, used for simulating lag. - SMALL_APPLICATION_CONFIGURATION_ATTRIBUTE - Static variable in interface com.blackrook.small.SmallConstants
-
The attribute name for the application configuration object on the servlet context.
- SMALL_APPLICATION_ENVIRONMENT_ATTRIBUTE - Static variable in interface com.blackrook.small.SmallConstants
-
The attribute name for the application environment on the servlet context.
- SMALL_REQUEST_ATTRIBUTE_MULTIPART_LIST - Static variable in interface com.blackrook.small.SmallConstants
-
The attribute name for the part list on multipart requests.
- SMALL_REQUEST_ATTRIBUTE_PATH_REMAINDER - Static variable in interface com.blackrook.small.SmallConstants
-
The attribute name for the path remainder that gets set on the request context on each request (default paths only).
- SMALL_REQUEST_ATTRIBUTE_RESPONSE_OBJECT - Static variable in interface com.blackrook.small.SmallConstants
-
The attribute name for the SmallResponse that is passed around between filters and calls (may be null).
- SmallComponent - Class in com.blackrook.small
-
A single instance of an instantiated component.
- SmallComponent(Object) - Constructor for class com.blackrook.small.SmallComponent
-
Creates an entry point descriptor around an object instance.
- SmallConfiguration - Interface in com.blackrook.small
-
Small Configuration class.
- SmallConstants - Interface in com.blackrook.small
-
Small Framework Constants.
- SmallEndpoint - Class in com.blackrook.small
-
A base websocket endpoint that automatically has a connection to the Small application environment.
- SmallEndpoint() - Constructor for class com.blackrook.small.SmallEndpoint
- SmallEnvironment - Class in com.blackrook.small
-
The component application environment.
- SmallFilterResult - Class in com.blackrook.small
-
An optional return type for a
FilterEntry
-annotated method on aFilter
that returns either a newHttpServletRequest
, a newHttpServletResponse
, both, or neither. - SmallFrameworkException - Exception in com.blackrook.small.exception
-
An exception that is thrown when the framework finds a problem.
- SmallFrameworkException() - Constructor for exception com.blackrook.small.exception.SmallFrameworkException
-
Creates a new exception.
- SmallFrameworkException(String) - Constructor for exception com.blackrook.small.exception.SmallFrameworkException
-
Creates a new exception.
- SmallFrameworkException(String, Throwable) - Constructor for exception com.blackrook.small.exception.SmallFrameworkException
-
Creates a new exception with a message.
- SmallFrameworkException(Throwable) - Constructor for exception com.blackrook.small.exception.SmallFrameworkException
-
Creates a new exception.
- SmallFrameworkParseException - Exception in com.blackrook.small.exception
-
An exception that is thrown when the framework finds a problem with parsing paths for controllers.
- SmallFrameworkParseException() - Constructor for exception com.blackrook.small.exception.SmallFrameworkParseException
-
Creates a new exception.
- SmallFrameworkParseException(String) - Constructor for exception com.blackrook.small.exception.SmallFrameworkParseException
-
Creates a new exception.
- SmallFrameworkParseException(String, Throwable) - Constructor for exception com.blackrook.small.exception.SmallFrameworkParseException
-
Creates a new exception with a message.
- SmallFrameworkParseException(Throwable) - Constructor for exception com.blackrook.small.exception.SmallFrameworkParseException
-
Creates a new exception.
- SmallFrameworkSetupException - Exception in com.blackrook.small.exception
-
An exception that is thrown when the framework finds a problem with constructing controllers or filters.
- SmallFrameworkSetupException() - Constructor for exception com.blackrook.small.exception.SmallFrameworkSetupException
-
Creates a new exception.
- SmallFrameworkSetupException(String) - Constructor for exception com.blackrook.small.exception.SmallFrameworkSetupException
-
Creates a new exception.
- SmallFrameworkSetupException(String, Throwable) - Constructor for exception com.blackrook.small.exception.SmallFrameworkSetupException
-
Creates a new exception with a message.
- SmallFrameworkSetupException(Throwable) - Constructor for exception com.blackrook.small.exception.SmallFrameworkSetupException
-
Creates a new exception.
- SmallModelView - Class in com.blackrook.small
-
A view model-and-view container.
- SmallRequestUtils - Class in com.blackrook.small.util
-
Utility class for
HttpServletRequest
manipulation. - SmallResponse - Interface in com.blackrook.small
-
Generic response object for Small.
- SMALLRESPONSE - Enum constant in enum class com.blackrook.small.dispatch.DispatchEntryPoint.Source
- SmallResponse.GenericSmallResponse - Class in com.blackrook.small
-
Creates a generic response object for Small Responses.
- SmallResponseUtils - Class in com.blackrook.small.util
-
Utility class for
HttpServletResponse
manipulation. - SmallServlet - Class in com.blackrook.small
-
The main dispatcher servlet for the controller portion of the framework.
- SmallServlet() - Constructor for class com.blackrook.small.SmallServlet
-
Creates the dispatcher servlet.
- SmallUtils - Class in com.blackrook.small.util
-
Utility library for common or useful functions.
- status(int) - Method in class com.blackrook.small.SmallResponse.GenericSmallResponse
-
Sets the status on this response.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form