Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
A
ACCEPTED
- Static variable in class com.prolixtech.jaminid.
Protocol
addRequestLines(String)
- Method in class com.prolixtech.jaminid.
Request
Method Adds Request Lines
appendToBody(String)
- Method in class com.prolixtech.jaminid.
Request
appends more stuff to body of request
B
BAD_GATEWAY
- Static variable in class com.prolixtech.jaminid.
Protocol
BAD_REQUEST
- Static variable in class com.prolixtech.jaminid.
Protocol
baloon(String, String)
- Method in class com.prolixtech.utils.
JavaLogger
baloon(String, String)
- Method in interface com.prolixtech.utils.
MboxLogger
baloon(String, String)
- Method in class com.prolixtech.utils.
NullLogger
C
checkParam(String, String)
- Method in class com.prolixtech.jaminid.
Request
Client
- Class in
com.prolixtech.jaminid
Client()
- Constructor for class com.prolixtech.jaminid.
Client
clone()
- Method in interface com.prolixtech.jaminid.
MusicStream
com.prolixtech.jaminid
- package com.prolixtech.jaminid
com.prolixtech.utils
- package com.prolixtech.utils
CONFLICT
- Static variable in class com.prolixtech.jaminid.
Protocol
Connection
- Class in
com.prolixtech.jaminid
The connection is a thread-of-service spanwed by the Daemon.
Connection(Socket, Daemon)
- Constructor for class com.prolixtech.jaminid.
Connection
default constructor to create a Connection
ContentOracle
- Class in
com.prolixtech.jaminid
The content oracle is a very special class.
ContentOracle()
- Constructor for class com.prolixtech.jaminid.
ContentOracle
CONTINUE
- Static variable in class com.prolixtech.jaminid.
Protocol
CREATED
- Static variable in class com.prolixtech.jaminid.
Protocol
CRLF()
- Method in class com.prolixtech.jaminid.
Response
D
Daemon
- Class in
com.prolixtech.jaminid
As in most HTTP implementations, the Daemon opens a port, listens for incoming connections, and then spawns the connections to serve that connection.
Daemon(int, ContentOracle)
- Constructor for class com.prolixtech.jaminid.
Daemon
creates a new daemon and opens on specific port
demultiplex(Request, Response)
- Method in class com.prolixtech.jaminid.
ContentOracle
the main function of the oracle, is to demux the request and produce an output that is relative to the request.
demultiplex(Request, Response)
- Method in class com.prolixtech.jaminid.
StreamingOracle
disableBaloons()
- Method in class com.prolixtech.utils.
JavaLogger
disableBaloons()
- Method in interface com.prolixtech.utils.
MboxLogger
disableBaloons()
- Method in class com.prolixtech.utils.
NullLogger
disbandStream(Request)
- Method in interface com.prolixtech.jaminid.
StreamBundle
E
exception(Level, String, Exception)
- Method in class com.prolixtech.utils.
JavaLogger
exception(String, Exception)
- Method in class com.prolixtech.utils.
JavaLogger
exception(Level, String, Exception)
- Method in interface com.prolixtech.utils.
MboxLogger
exception(String, Exception)
- Method in interface com.prolixtech.utils.
MboxLogger
exception(Level, String, Exception)
- Method in class com.prolixtech.utils.
NullLogger
exception(String, Exception)
- Method in class com.prolixtech.utils.
NullLogger
EXPECTATION_FAILED
- Static variable in class com.prolixtech.jaminid.
Protocol
F
fine(String)
- Method in class com.prolixtech.utils.
JavaLogger
Shortcut to submit a log message at the level FINE
fine(String)
- Method in interface com.prolixtech.utils.
MboxLogger
fine(String)
- Method in class com.prolixtech.utils.
NullLogger
FORBIDDEN
- Static variable in class com.prolixtech.jaminid.
Protocol
format(LogRecord)
- Method in class com.prolixtech.utils.
SingleLineFormatter
G
GATEWAY_TIMEOUT
- Static variable in class com.prolixtech.jaminid.
Protocol
getBody()
- Method in class com.prolixtech.jaminid.
Request
Used in POST to return the body of the request
getByteSizeForTime(int)
- Method in interface com.prolixtech.jaminid.
MusicStream
getContent(String, int, String)
- Method in class com.prolixtech.jaminid.
Client
getContent(String, int, Request)
- Method in class com.prolixtech.jaminid.
Client
getDaemon()
- Method in class com.prolixtech.jaminid.
Request
Returns the master daemon
getDelegatedOracle(Request)
- Method in class com.prolixtech.jaminid.
ContentOracle
getGMTString(Date)
- Static method in class com.prolixtech.jaminid.
Connection
getHeader()
- Method in class com.prolixtech.jaminid.
Request
Returns header
getHeaderResponseStatus(int)
- Static method in class com.prolixtech.jaminid.
Protocol
gets a String description of the status code e.g (200 OK) or (404 FnF)
getIPAddressString()
- Method in class com.prolixtech.jaminid.
Connection
getIPAddressString()
- Method in class com.prolixtech.jaminid.
Request
getLocation()
- Method in class com.prolixtech.jaminid.
Request
Return the location sought
getLogger()
- Method in class com.prolixtech.utils.
JavaLogger
For manual submission directly to the logger
getLogger()
- Method in class com.prolixtech.utils.
NullLogger
getMessage()
- Method in class com.prolixtech.jaminid.
Request
Returns the entire request message
getMIME(String)
- Static method in class com.prolixtech.jaminid.
Protocol
MIME type accessor.
getNextBatch(Request, Response)
- Method in class com.prolixtech.jaminid.
StreamingOracle
getOracle()
- Method in class com.prolixtech.jaminid.
Daemon
getParam(String)
- Method in class com.prolixtech.jaminid.
Request
getParamMap()
- Method in class com.prolixtech.jaminid.
Request
getParamOrNull(String)
- Method in class com.prolixtech.jaminid.
Request
getParamString()
- Method in class com.prolixtech.jaminid.
Request
getPos()
- Method in interface com.prolixtech.jaminid.
MusicStream
getProtocol()
- Method in class com.prolixtech.jaminid.
Daemon
getServerPort()
- Method in class com.prolixtech.jaminid.
Daemon
returns the server port
getStream(Request)
- Method in interface com.prolixtech.jaminid.
StreamBundle
getStreamInterval()
- Method in class com.prolixtech.jaminid.
StreamingOracle
getURI()
- Method in class com.prolixtech.jaminid.
Request
Returns the Uniform Resource Identifier
GONE
- Static variable in class com.prolixtech.jaminid.
Protocol
H
HQ_IFMODSINCE
- Static variable in class com.prolixtech.jaminid.
Protocol
http(Request, String)
- Method in class com.prolixtech.utils.
JavaLogger
Specialized submit for HTTP messages
http(Request, String)
- Method in interface com.prolixtech.utils.
MboxLogger
Specialized submit for HTTP messages
http(Request, String)
- Method in class com.prolixtech.utils.
NullLogger
HTTP_VERSION
- Static variable in class com.prolixtech.jaminid.
Protocol
HTTP_VERSION_NOT_SUPPORTED
- Static variable in class com.prolixtech.jaminid.
Protocol
I
info(String)
- Method in class com.prolixtech.utils.
JavaLogger
Shortcut to submit a log message at the level INFO
info(String)
- Method in interface com.prolixtech.utils.
MboxLogger
Shortcut to submit a log message at the level INFO
info(String)
- Method in class com.prolixtech.utils.
NullLogger
Instance()
- Static method in class com.prolixtech.jaminid.
ContentOracle
pertains to the singleton DESIGN PATTERN
Instance()
- Static method in class com.prolixtech.jaminid.
Protocol
Instance()
- Static method in class com.prolixtech.jaminid.
StreamingOracle
Instance()
- Static method in class com.prolixtech.utils.
JavaLogger
Pertains to the Singleton DESIGN PATTERN.
Instance()
- Static method in class com.prolixtech.utils.
NullLogger
Instance()
- Static method in class com.prolixtech.utils.
SingletonLogger
INTERNAL_SERVER_ERROR
- Static variable in class com.prolixtech.jaminid.
Protocol
isRequestBad()
- Method in class com.prolixtech.jaminid.
Request
isRunning()
- Method in class com.prolixtech.jaminid.
Daemon
J
JavaLogger
- Class in
com.prolixtech.utils
This class provides a single logging utility used for debugging purposes.
JavaLogger()
- Constructor for class com.prolixtech.utils.
JavaLogger
L
LENGTH_REQUIRED
- Static variable in class com.prolixtech.jaminid.
Protocol
log(Level, String)
- Method in class com.prolixtech.utils.
JavaLogger
The main logging function is set by default to output to the console.
log(Level, String)
- Method in interface com.prolixtech.utils.
MboxLogger
The main logging function is set by default to output to the console.
log(Level, String)
- Method in class com.prolixtech.utils.
NullLogger
M
main(String[])
- Static method in class com.prolixtech.jaminid.
Daemon
makeNewMIME()
- Static method in class com.prolixtech.jaminid.
Protocol
Creates a new mime file with the bare basic defaults
MboxLogger
- Interface in
com.prolixtech.utils
MIMEFILE
- Static variable in class com.prolixtech.jaminid.
Protocol
MOVED_PERMANENTLY
- Static variable in class com.prolixtech.jaminid.
Protocol
MOVED_TEMPORARILY
- Static variable in class com.prolixtech.jaminid.
Protocol
MULTIPLE_CHOICE
- Static variable in class com.prolixtech.jaminid.
Protocol
MusicStream
- Interface in
com.prolixtech.jaminid
N
NO_CONTENT
- Static variable in class com.prolixtech.jaminid.
Protocol
NONE_ACCEPTABLE
- Static variable in class com.prolixtech.jaminid.
Protocol
NOT_ALLOWED
- Static variable in class com.prolixtech.jaminid.
Protocol
NOT_FOUND
- Static variable in class com.prolixtech.jaminid.
Protocol
NOT_IMPLEMENTED
- Static variable in class com.prolixtech.jaminid.
Protocol
NOT_MODIFIED
- Static variable in class com.prolixtech.jaminid.
Protocol
NullLogger
- Class in
com.prolixtech.utils
NullLogger()
- Constructor for class com.prolixtech.utils.
NullLogger
O
OK
- Static variable in class com.prolixtech.jaminid.
Protocol
P
PARTIAL_CONTENT
- Static variable in class com.prolixtech.jaminid.
Protocol
PATH_START
- Static variable in class com.prolixtech.jaminid.
StreamingOracle
PAYMENT_REQUIRED
- Static variable in class com.prolixtech.jaminid.
Protocol
PRECONDITION_FAILED
- Static variable in class com.prolixtech.jaminid.
Protocol
printlog(String)
- Method in class com.prolixtech.jaminid.
Daemon
Protocol
- Class in
com.prolixtech.jaminid
This class captures the essential messages in the HTTP protocol.
ProtocolResponseHeader
- Enum in
com.prolixtech.jaminid
PROVISIONAL_INFORMATION
- Static variable in class com.prolixtech.jaminid.
Protocol
PROXY_AUTH_REQUIRED
- Static variable in class com.prolixtech.jaminid.
Protocol
publishHeader()
- Method in class com.prolixtech.jaminid.
Response
Sends the header to the client.
publishStream(StreamBundle, String)
- Method in class com.prolixtech.jaminid.
StreamingOracle
R
readNext(int)
- Method in interface com.prolixtech.jaminid.
MusicStream
Request
- Class in
com.prolixtech.jaminid
The request class encapsulates an HTTP request.
Request(Daemon, Connection)
- Constructor for class com.prolixtech.jaminid.
Request
Creates a new request object
REQUEST_ENTITY_TOO_LARGE
- Static variable in class com.prolixtech.jaminid.
Protocol
REQUEST_TIMEOUT
- Static variable in class com.prolixtech.jaminid.
Protocol
REQUEST_URI_TOO_LONG
- Static variable in class com.prolixtech.jaminid.
Protocol
REQUESTED_RANGE_NOT_SATISFIABLE
- Static variable in class com.prolixtech.jaminid.
Protocol
requestHeaderExists(String)
- Static method in class com.prolixtech.jaminid.
Protocol
checks if a request header exists in the protocol
RESET_CONTENT
- Static variable in class com.prolixtech.jaminid.
Protocol
Response
- Class in
com.prolixtech.jaminid
The response class encapsulates an HTTP response.
Response(int, Protocol, OutputStream, Request)
- Constructor for class com.prolixtech.jaminid.
Response
run()
- Method in class com.prolixtech.jaminid.
Connection
The thread runs here.
run()
- Method in class com.prolixtech.jaminid.
Daemon
Handles listening for new connections and launching client threads
S
SEE_OTHER
- Static variable in class com.prolixtech.jaminid.
Protocol
sendCookie15DG(String, String)
- Method in class com.prolixtech.jaminid.
Response
sets a fifteen day cookie
sendFile(File)
- Method in class com.prolixtech.jaminid.
Response
sends a file to the client.
sendString(Object)
- Method in class com.prolixtech.jaminid.
Connection
Sends a string to the client
sendString(byte[])
- Method in class com.prolixtech.jaminid.
Connection
SERVICE_UNAVAILABLE
- Static variable in class com.prolixtech.jaminid.
Protocol
setCookie(String, String, String, Date)
- Method in class com.prolixtech.jaminid.
Response
sets a cookie
setFullPath(String)
- Method in interface com.prolixtech.jaminid.
StreamBundle
setHeaderLine(ProtocolResponseHeader, String)
- Method in class com.prolixtech.jaminid.
Response
sets one particular header line
setLog(boolean)
- Static method in class com.prolixtech.utils.
SingletonLogger
setMethodLine(String)
- Method in class com.prolixtech.jaminid.
Request
setStatus(int)
- Method in class com.prolixtech.jaminid.
Response
sets the status of the response to a certain HTTP status code
severe(String)
- Method in class com.prolixtech.utils.
JavaLogger
Shortcut to submit a log message at the level SEVERE
severe(String)
- Method in interface com.prolixtech.utils.
MboxLogger
Shortcut to submit a log message at the level SEVERE
severe(String)
- Method in class com.prolixtech.utils.
NullLogger
SingleLineFormatter
- Class in
com.prolixtech.utils
SingleLineFormatter()
- Constructor for class com.prolixtech.utils.
SingleLineFormatter
SingletonLogger
- Class in
com.prolixtech.utils
This class provides a single logging utility used for debugging purposes.
SingletonLogger()
- Constructor for class com.prolixtech.utils.
SingletonLogger
sql(String)
- Method in class com.prolixtech.utils.
JavaLogger
Specialized submit for SQL messages
sql(String)
- Method in interface com.prolixtech.utils.
MboxLogger
sql(String)
- Method in class com.prolixtech.utils.
NullLogger
StreamBundle
- Interface in
com.prolixtech.jaminid
StreamingOracle
- Class in
com.prolixtech.jaminid
StreamingOracle()
- Constructor for class com.prolixtech.jaminid.
StreamingOracle
Suspender
- Class in
com.prolixtech.utils
Suspender()
- Constructor for class com.prolixtech.utils.
Suspender
suspendMillis(long)
- Static method in class com.prolixtech.utils.
Suspender
suspendSeconds(int)
- Static method in class com.prolixtech.utils.
Suspender
SWITCHING
- Static variable in class com.prolixtech.jaminid.
Protocol
switchToBody()
- Method in class com.prolixtech.jaminid.
Request
switchToCompleted()
- Method in class com.prolixtech.jaminid.
Request
T
tearDown()
- Method in class com.prolixtech.jaminid.
Daemon
tears down server
tearDownAndWait()
- Method in class com.prolixtech.jaminid.
Daemon
Tears down server and waits for it to tear down
theInstance
- Static variable in class com.prolixtech.jaminid.
ContentOracle
toString()
- Method in class com.prolixtech.jaminid.
Daemon
U
UNAUTHORIZED
- Static variable in class com.prolixtech.jaminid.
Protocol
UNSUPPORTED_MEDIA_TYPE
- Static variable in class com.prolixtech.jaminid.
Protocol
USE_PROXY
- Static variable in class com.prolixtech.jaminid.
Protocol
V
valueOf(String)
- Static method in enum com.prolixtech.jaminid.
ProtocolResponseHeader
Returns the enum constant of this type with the specified name.
values()
- Static method in enum com.prolixtech.jaminid.
ProtocolResponseHeader
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION
- Static variable in class com.prolixtech.jaminid.
Daemon
W
warning(String)
- Method in class com.prolixtech.utils.
JavaLogger
Shortcut to submit a log message at the level WARNING
warning(String)
- Method in interface com.prolixtech.utils.
MboxLogger
Shortcut to submit a log message at the level WARNING
warning(String)
- Method in class com.prolixtech.utils.
NullLogger
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes