Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- generateTempFile(String, File) - Method in class com.blackrook.small.multipart.MultipartParser
-
Creates a temporary file for read part data.
- GET - Enum constant in enum class com.blackrook.small.enums.RequestMethod
-
Standard GET request.
- getAlias() - Method in class com.blackrook.small.struct.TypeProfileFactory.Profile.FieldInfo
- getAlias() - Method in class com.blackrook.small.struct.TypeProfileFactory.Profile.MethodInfo
- getAlias(Field) - Method in interface com.blackrook.small.struct.TypeProfileFactory.MemberPolicy
-
Gets an alias name for the provided field.
- getAlias(Method) - Method in interface com.blackrook.small.struct.TypeProfileFactory.MemberPolicy
-
Gets an alias name for the provided method.
- getApplicationBean(ServletContext, Class<T>) - Static method in class com.blackrook.small.util.SmallUtils
-
Gets and auto-casts an object bean stored at the application level.
- getApplicationBean(ServletContext, Class<T>, String) - Static method in class com.blackrook.small.util.SmallUtils
-
Gets and auto-casts an object bean stored at the application level.
- getApplicationBean(ServletContext, Class<T>, String, boolean) - Static method in class com.blackrook.small.util.SmallUtils
-
Gets and auto-casts an object bean stored at the application level.
- getApplicationFile(ServletContext, String) - Static method in class com.blackrook.small.util.SmallUtils
-
Gets a file that is on the application path.
- getApplicationFileAsStream(ServletContext, String) - Static method in class com.blackrook.small.util.SmallUtils
-
Opens an input stream to a resource using a path relative to the application context path.
- getApplicationFilePath(ServletContext, String) - Static method in class com.blackrook.small.util.SmallUtils
-
Gets a file path that is on the application path.
- getApplicationPackageRoots() - Method in interface com.blackrook.small.SmallConfiguration
- getArrayDimensions(Class<?>) - Static method in class com.blackrook.small.struct.Utils
-
Gets how many dimensions that this array, represented by the provided type, has.
- getArrayDimensions(Object) - Static method in class com.blackrook.small.struct.Utils
-
Gets how many array dimensions that an object (presumably an array) has.
- getArrayType(Class<?>) - Static method in class com.blackrook.small.struct.Utils
-
Gets the class type of this array type, if this is an array type.
- getArrayType(Object) - Static method in class com.blackrook.small.struct.Utils
-
Gets the class type of this array, if this is an array.
- getAttribute(String) - Method in interface com.blackrook.small.SmallConfiguration
-
Fetches the value of an arbitrary attribute set that may be specific to the application.
- getAttribute(String, T) - Method in interface com.blackrook.small.SmallConfiguration
-
Fetches the value of an arbitrary attribute set that may be specific to the application.
- getAttributeConstructor(String) - Method in class com.blackrook.small.dispatch.DispatchComponent
-
Gets a method on this object that constructs an attribute.
- getAttributeExist(HttpSession, String) - Static method in class com.blackrook.small.util.SmallUtils
-
Convenience method that calls
session.getAttribute(attribName)
. - getAttributeExist(ServletContext, String) - Static method in class com.blackrook.small.util.SmallUtils
-
Convenience method that calls
context.getAttribute(attribName)
. - getByteData(HttpServletRequest) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Gets the binary payload of a request.
- getCauses() - Method in exception com.blackrook.small.exception.request.ManyRequestExceptionsException
- getClasses(String, ClassLoader) - Static method in class com.blackrook.small.struct.Utils
-
Returns the fully-qualified names of all classes beginning with a certain string.
- getClassesFromClasspath(String) - Static method in class com.blackrook.small.struct.Utils
-
Returns the fully-qualified names of all classes beginning with a certain string.
- getComponent(Class<T>) - Method in class com.blackrook.small.SmallEndpoint
-
Returns a singleton component instantiated by Small.
- getComponent(Class<T>) - Method in class com.blackrook.small.SmallEnvironment
-
Returns a singleton component instantiated by Small of a particular type or subtype.
- getComponentList(Class<T>) - Method in class com.blackrook.small.SmallEnvironment
-
Returns all singleton components instantiated by Small of a particular type or subtype.
- getComponents(Class<?>...) - Method in class com.blackrook.small.SmallEnvironment
-
Returns a new array of objects that match the provided types in the order the types are provided.
- getConfiguration(ServletContext) - Static method in class com.blackrook.small.util.SmallUtils
-
Convenience method that gets the Small Configuration stub used to start this application.
- getContent() - Method in class com.blackrook.small.SmallResponse.GenericSmallResponse
- getContent() - Method in interface com.blackrook.small.SmallResponse
- getContentData(HttpServletRequest, Class<R>) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Get content data from the request and attempts to return it as the desired type.
- getContentType() - Method in class com.blackrook.small.multipart.Part
- getContextPath() - Method in interface com.blackrook.small.SmallConfiguration
- getEntryMethod() - Method in class com.blackrook.small.dispatch.filter.FilterComponent
- getEntryMethods() - Method in class com.blackrook.small.dispatch.controller.ControllerComponent
- getEnvironment() - Method in class com.blackrook.small.SmallEndpoint
- getEnvironment(ServletContext) - Static method in class com.blackrook.small.util.SmallUtils
-
Convenience method that gets the Small Application Environment from the servlet context.
- getEnvironment(EndpointConfig) - Static method in class com.blackrook.small.util.SmallUtils
-
Convenience method that gets the Small Application Environment from WebSocket EndpointConfig.
- getExitMethod() - Method in class com.blackrook.small.dispatch.filter.FilterComponent
- getField() - Method in class com.blackrook.small.struct.TypeProfileFactory.Profile.FieldInfo
- getFieldValue(Object, Field) - Static method in class com.blackrook.small.struct.Utils
-
Gets the value of a field on an object.
- getFile() - Method in class com.blackrook.small.multipart.Part
-
Returns a handle to this file, or null if not a file.
- getFileExtension(File) - Static method in class com.blackrook.small.struct.Utils
-
Returns the extension of a file's name.
- getFileExtension(File, String) - Static method in class com.blackrook.small.struct.Utils
-
Returns the extension of a file's name.
- getFileExtension(String) - Static method in class com.blackrook.small.struct.Utils
-
Returns the extension of a filename.
- getFileExtension(String, String) - Static method in class com.blackrook.small.struct.Utils
-
Returns the extension of a filename.
- getFileName() - Method in class com.blackrook.small.multipart.Part
- getFileName(HttpServletRequest) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Get the base file name parsed out of the request URI.
- getFilterChain() - Method in class com.blackrook.small.dispatch.controller.ControllerComponent
- getFilterChain() - Method in class com.blackrook.small.dispatch.controller.ControllerEntryPoint
- getGetterMethodsByAlias() - Method in class com.blackrook.small.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's getter methods.
- getGetterMethodsByName() - Method in class com.blackrook.small.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's getter methods.
- getHandledClass() - Method in interface com.blackrook.small.roles.ExceptionHandler
-
Gets the exception class that this handles.
- getHeaders() - Method in class com.blackrook.small.SmallResponse.GenericSmallResponse
- getHeaders() - Method in interface com.blackrook.small.SmallResponse
- getId() - Method in class com.blackrook.small.SmallEndpoint
-
Convenience method for getting this endpoint's ID.
- getInstance() - Method in class com.blackrook.small.SmallComponent
- getJSONDriver() - Method in class com.blackrook.small.SmallEndpoint
-
Gets this application's JSON converter driver.
- getJSONDriver() - Method in class com.blackrook.small.SmallEnvironment
-
Gets this application's JSON converter driver.
- getLength() - Method in class com.blackrook.small.multipart.Part
-
Returns the length of this part.
- getMethod() - Method in class com.blackrook.small.dispatch.DispatchEntryPoint
- getMethod() - Method in class com.blackrook.small.struct.TypeProfileFactory.Profile.MethodInfo
- getMimeType() - Method in class com.blackrook.small.dispatch.controller.ControllerEntryPoint
- getMIMEType(String) - Method in class com.blackrook.small.roles.DefaultMIMETypeDriver
- getMIMEType(String) - Method in interface com.blackrook.small.roles.MIMETypeDriver
-
Get the corresponding MIME-Type for a file extension.
- getMIMEType(ServletContext, String) - Static method in class com.blackrook.small.util.SmallUtils
-
Gets the MIME type of a file (uses the provided
MIMETypeDriver
). - getMIMETypeDriver() - Method in class com.blackrook.small.SmallEnvironment
-
Gets this application's MIME-Type resolver driver.
- getModel() - Method in class com.blackrook.small.SmallModelView
- getModelConstructor(String) - Method in class com.blackrook.small.dispatch.DispatchComponent
-
Gets a method on this object that constructs a model object.
- getMultipartParser(HttpServletRequest) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Returns the appropriate multipart parser for a request.
- getName() - Method in class com.blackrook.small.multipart.Part
- getOutputType() - Method in class com.blackrook.small.dispatch.controller.ControllerEntryPoint
- getParameter(String) - Method in class com.blackrook.small.SmallEndpoint
-
Convenience method for getting a query parameter from the endpoint URI.
- getParameterBoolean(HttpServletRequest, String) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that calls
request.getParameter(paramName)
and returns true or false. - getParameterBoolean(HttpServletRequest, String, String) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that calls
request.getParameter(paramName)
and returns true or false, if the string found in the request evaluates totrueValue
, case-insensitively. - getParameterByte(HttpServletRequest, String) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that calls
request.getParameter(paramName)
. - getParameterByte(HttpServletRequest, String, byte) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that calls
request.getParameter(paramName)
. - getParameterChar(HttpServletRequest, String) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that calls
request.getParameter(paramName)
. - getParameterChar(HttpServletRequest, String, char) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that calls
request.getParameter(paramName)
. - getParameterDate(HttpServletRequest, String, String) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Method that parses a parameter as a date.
- getParameterDescriptors() - Method in class com.blackrook.small.dispatch.DispatchEntryPoint
- getParameterDouble(HttpServletRequest, String) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that calls
request.getParameter(paramName)
. - getParameterDouble(HttpServletRequest, String, double) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that calls
request.getParameter(paramName)
. - getParameterExist(HttpServletRequest, String) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that checks if a parameter exists on a request.
- getParameterFloat(HttpServletRequest, String) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that calls
request.getParameter(paramName)
. - getParameterFloat(HttpServletRequest, String, float) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that calls
request.getParameter(paramName)
. - getParameterInt(HttpServletRequest, String) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that calls
request.getParameter(paramName)
. - getParameterInt(HttpServletRequest, String, int) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that calls
request.getParameter(paramName)
. - getParameterLong(HttpServletRequest, String) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that calls
request.getParameter(paramName)
. - getParameterLong(HttpServletRequest, String, long) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that calls
request.getParameter(paramName)
. - getParameters(String) - Method in class com.blackrook.small.SmallEndpoint
-
Convenience method for getting a list of query parameter values from the endpoint URI.
- getParameters(HttpServletRequest, String) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Gets a group of parameters that start with a specific prefix.
- getParameterShort(HttpServletRequest, String) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that calls
request.getParameter(paramName)
. - getParameterShort(HttpServletRequest, String, short) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that calls
request.getParameter(paramName)
. - getParameterString(HttpServletRequest, String) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that calls
request.getParameter(paramName)
. - getParameterString(HttpServletRequest, String, String) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that calls
request.getParameter(paramName)
. - getPartData(Part, Class<T>) - Method in class com.blackrook.small.dispatch.DispatchComponent
-
Converts a Multipart Part to a type.
- getPartList() - Method in class com.blackrook.small.multipart.MultipartParser
- getPath() - Method in class com.blackrook.small.dispatch.controller.ControllerComponent
- getPath() - Method in class com.blackrook.small.dispatch.controller.ControllerEntryPoint
- getPath(HttpServletRequest) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Get the path parsed out of the request URI.
- getPathExtension(HttpServletRequest) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Get the path file extension parsed out of the request URI (includes the dot).
- getPathVariable(String) - Method in class com.blackrook.small.SmallEndpoint
-
Convenience method for getting a path variable from the endpoint URI.
- getPathVariables() - Method in class com.blackrook.small.struct.URITrie.Result
-
Gets the map of found path variables, if any.
- getProfile(Class<T>) - Static method in class com.blackrook.small.struct.Utils
-
Creates a new profile for a provided type.
- getPublicFieldsByAlias() - Method in class com.blackrook.small.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's public fields.
- getPublicFieldsByName() - Method in class com.blackrook.small.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's public fields.
- getQueryString() - Method in class com.blackrook.small.SmallEndpoint
-
Convenience method for getting the query string from the request that created this.
- getRemainder() - Method in class com.blackrook.small.struct.URITrie.Result
-
Gets the path remainder, if this is a "default" path.
- getRequest() - Method in class com.blackrook.small.SmallFilterResult
-
Gets the replacement servlet request object.
- getRequestBean(HttpServletRequest, Class<T>) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Gets and auto-casts an object bean stored at the request level.
- getRequestBean(HttpServletRequest, Class<T>, String) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Gets and auto-casts an object bean stored at the request level.
- getRequestBean(HttpServletRequest, Class<T>, String, boolean) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Gets and auto-casts an object bean stored at the request level.
- getRequestMethods() - Method in class com.blackrook.small.dispatch.controller.ControllerEntryPoint
- getResource(ClassLoader, String) - Static method in class com.blackrook.small.util.SmallUtils
-
Finds a resource URL using the current thread's
ClassLoader
. - getResource(String) - Static method in class com.blackrook.small.util.SmallUtils
-
Finds a resource URL using the current thread's
ClassLoader
. - getResponse() - Method in class com.blackrook.small.SmallFilterResult
-
Gets the replacement servlet response object.
- getSecureServerPort() - Method in interface com.blackrook.small.SmallConfiguration
-
Gets the port to use for secure connections.
- getServerPort() - Method in interface com.blackrook.small.SmallConfiguration
- getServiceProfile() - Method in class com.blackrook.small.dispatch.DispatchEntryPoint
-
Gets the service profile that this belongs to.
- getServletPaths() - Method in interface com.blackrook.small.SmallConfiguration
- getSession() - Method in class com.blackrook.small.SmallEndpoint
- getSessionBean(HttpServletRequest, Class<T>) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Gets and auto-casts an object bean stored at the session level.
- getSessionBean(HttpServletRequest, Class<T>, String) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Gets and auto-casts an object bean stored at the session level.
- getSessionBean(HttpServletRequest, Class<T>, String, boolean) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Gets and auto-casts an object bean stored at the session level.
- getSessionId(HttpServletRequest) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Gets the current connection's session id.
- getSetterMethodsByAlias() - Method in class com.blackrook.small.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's setter methods.
- getSetterMethodsByName() - Method in class com.blackrook.small.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's setter methods.
- getSmallResponse() - Method in class com.blackrook.small.SmallFilterResult
-
Gets the SmallResponse object.
- getSmallResponse(HttpServletRequest) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Convenience method that gets the SmallResponse on the request.
- getStatus() - Method in class com.blackrook.small.SmallResponse.GenericSmallResponse
- getStatus() - Method in interface com.blackrook.small.SmallResponse
- getStringData(HttpServletRequest) - Static method in class com.blackrook.small.util.SmallRequestUtils
-
Gets the string data of a request.
- getTemporaryDirectory() - Method in class com.blackrook.small.SmallEndpoint
- getTemporaryDirectory() - Method in class com.blackrook.small.SmallEnvironment
- getTempPath() - Method in interface com.blackrook.small.SmallConfiguration
-
Provides the path to the temporary directory.
- getType() - Method in class com.blackrook.small.dispatch.DispatchEntryPoint
- getType() - Method in class com.blackrook.small.struct.TypeProfileFactory.Profile.FieldInfo
- getType() - Method in class com.blackrook.small.struct.TypeProfileFactory.Profile.MethodInfo
- getURI() - Method in class com.blackrook.small.SmallEndpoint
-
Convenience method for getting the URI that created this endpoint.
- getValue() - Method in class com.blackrook.small.multipart.Part
- getValue() - Method in class com.blackrook.small.struct.URITrie.Result
-
Gets the found value, if any.
- getViewName() - Method in class com.blackrook.small.SmallModelView
- getWebsocketServerContainer(ServletContext) - Static method in class com.blackrook.small.util.SmallUtils
-
Attempts to fetch the Websocket Server Container from a servlet context.
- getXMLDriver() - Method in class com.blackrook.small.SmallEndpoint
-
Gets this application's XML converter driver.
- getXMLDriver() - Method in class com.blackrook.small.SmallEnvironment
-
Gets this application's XML converter driver.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form