Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addCookie(Cookie) - Method in class org.tinystruct.http.servlet.ResponseBuilder
- addHeader(String, Object) - Method in class org.tinystruct.http.servlet.ResponseBuilder
B
- body() - Method in class org.tinystruct.http.servlet.RequestBuilder
- boundary - Variable in class org.tinystruct.http.servlet.MultipartFormData
-
The boundary for this multipart request
- bufferSize - Variable in class org.tinystruct.http.servlet.MultipartFormData
-
The amount of data read from a request at a time.
C
- close() - Method in class org.tinystruct.http.servlet.ResponseBuilder
- cookies() - Method in class org.tinystruct.http.servlet.RequestBuilder
D
- DefaultHandler() - Constructor for class org.tinystruct.system.TomcatServer.DefaultHandler
- destroy() - Method in class org.tinystruct.system.TomcatServer.DefaultHandler
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.tinystruct.system.TomcatServer.DefaultHandler
E
- end - Variable in class org.tinystruct.http.servlet.MultipartFormData
-
Whether the input stream is finished
- exceptionCaught() - Method in class org.tinystruct.system.TomcatServer
G
- get() - Method in class org.tinystruct.http.servlet.ResponseBuilder
- getAttachments() - Method in class org.tinystruct.http.servlet.RequestBuilder
-
Return the attachments if there are.
- getBufferSize() - Method in class org.tinystruct.http.servlet.MultipartFormData
-
Get the maximum amount of bytes read from a line at one time
- getCharacterEncoding() - Method in class org.tinystruct.http.servlet.RequestBuilder
-
Gets the character encoding of the request.
- getHeader(String) - Method in class org.tinystruct.http.servlet.ResponseBuilder
- getNextPart() - Method in class org.tinystruct.http.servlet.MultipartFormData
-
Retrieves the next element in the iterator if one exists.
- getParameter(String) - Method in class org.tinystruct.http.servlet.RequestBuilder
- getSession() - Method in class org.tinystruct.http.servlet.RequestBuilder
- getSession(String) - Method in class org.tinystruct.http.servlet.RequestBuilder
- getSession(String, boolean) - Method in class org.tinystruct.http.servlet.RequestBuilder
H
- headers() - Method in class org.tinystruct.http.servlet.RequestBuilder
- headers() - Method in class org.tinystruct.http.servlet.ResponseBuilder
I
- init() - Method in class org.tinystruct.system.TomcatServer
- init(FilterConfig) - Method in class org.tinystruct.system.TomcatServer.DefaultHandler
- init(ServletConfig) - Method in class org.tinystruct.system.TomcatServer.DefaultHandler
- inputStream - Variable in class org.tinystruct.http.servlet.MultipartFormData
-
The input stream instance for this class
- isSecure() - Method in class org.tinystruct.http.servlet.RequestBuilder
M
- method() - Method in class org.tinystruct.http.servlet.RequestBuilder
- MultipartFormData - Class in org.tinystruct.http.servlet
-
The MultipartFormData class is responsible for reading the input data of a multipart request and splitting it up into input elements, wrapped inside a
ContentDispositionfor easy definition. - MultipartFormData(Request<HttpServletRequest, ServletInputStream>) - Constructor for class org.tinystruct.http.servlet.MultipartFormData
O
- org.tinystruct.http.servlet - package org.tinystruct.http.servlet
- org.tinystruct.system - package org.tinystruct.system
P
- parameterNames() - Method in class org.tinystruct.http.servlet.RequestBuilder
- parseBoundary(String) - Static method in class org.tinystruct.http.servlet.MultipartFormData
-
Parses a content-type String for the boundary.
- parseContentType(String) - Static method in class org.tinystruct.http.servlet.MultipartFormData
-
Parses the "Content-Type" line of a multipart form for a content type
- parseDispositionFilename(String) - Static method in class org.tinystruct.http.servlet.MultipartFormData
-
Retrieves the "filename" attribute from a content disposition line
- parseDispositionName(String) - Static method in class org.tinystruct.http.servlet.MultipartFormData
-
Retrieves the "name" attribute from a content disposition line
- parseForAttribute(String, String) - Static method in class org.tinystruct.http.servlet.MultipartFormData
-
Parses a string looking for an attribute-value pair, and returns the value.
- parseRequest() - Method in class org.tinystruct.http.servlet.MultipartFormData
-
Handles retrieving the boundary and setting the input stream
Q
- query() - Method in class org.tinystruct.http.servlet.RequestBuilder
R
- readLine() - Method in class org.tinystruct.http.servlet.MultipartFormData
-
Reads the input stream until it reaches a new line
- request - Variable in class org.tinystruct.http.servlet.MultipartFormData
-
The request instance for this class
- RequestBuilder - Class in org.tinystruct.http.servlet
-
A specialized request builder for Servlet-based HTTP requests.
- RequestBuilder(HttpServletRequest) - Constructor for class org.tinystruct.http.servlet.RequestBuilder
- RequestBuilder(HttpServletRequest, boolean) - Constructor for class org.tinystruct.http.servlet.RequestBuilder
- ResponseBuilder - Class in org.tinystruct.http.servlet
- ResponseBuilder(HttpServletResponse) - Constructor for class org.tinystruct.http.servlet.ResponseBuilder
- run() - Method in class org.tinystruct.system.TomcatServer.DefaultHandler
S
- sendRedirect(String) - Method in class org.tinystruct.http.servlet.ResponseBuilder
- service(HttpServletRequest, HttpServletResponse) - Method in class org.tinystruct.system.TomcatServer.DefaultHandler
- setBufferSize(int) - Method in class org.tinystruct.http.servlet.MultipartFormData
-
Set the maximum amount of bytes read from a line at one time
- setContentType(String) - Method in class org.tinystruct.http.servlet.ResponseBuilder
- setMethod(Method) - Method in class org.tinystruct.http.servlet.RequestBuilder
- setStatus(ResponseStatus) - Method in class org.tinystruct.http.servlet.ResponseBuilder
- setUri(String) - Method in class org.tinystruct.http.servlet.RequestBuilder
- setVersion(Version) - Method in class org.tinystruct.http.servlet.RequestBuilder
- setVersion(Version) - Method in class org.tinystruct.http.servlet.ResponseBuilder
- start() - Method in class org.tinystruct.system.TomcatServer.DefaultHandler
- start() - Method in class org.tinystruct.system.TomcatServer
- status() - Method in class org.tinystruct.http.servlet.ResponseBuilder
- stop() - Method in class org.tinystruct.system.TomcatServer.DefaultHandler
- stop() - Method in class org.tinystruct.system.TomcatServer
- stream() - Method in class org.tinystruct.http.servlet.RequestBuilder
T
- TomcatServer - Class in org.tinystruct.system
- TomcatServer() - Constructor for class org.tinystruct.system.TomcatServer
- TomcatServer.DefaultHandler - Class in org.tinystruct.system
-
DefaultHandler is responsible for handling HTTP requests and managing the application's lifecycle.
U
- uri() - Method in class org.tinystruct.http.servlet.RequestBuilder
V
- version() - Method in class org.tinystruct.http.servlet.RequestBuilder
- version() - Method in class org.tinystruct.http.servlet.ResponseBuilder
- version() - Method in class org.tinystruct.system.TomcatServer
W
- writeAndFlush(byte[]) - Method in class org.tinystruct.http.servlet.ResponseBuilder
All Classes and Interfaces|All Packages|Serialized Form