Serialized Form


Package simple.http.load

Class simple.http.load.Configuration extends java.util.Properties implements Serializable

Class simple.http.load.LoaderEngine extends simple.http.load.LoaderStub implements Serializable

Serialized Fields

resolver

Resolver resolver
The Resolver for the linked classes.


delegate

simple.http.load.Processor delegate
This is used to update any Loader objects.


context

Context context
This is the context this loader engine operates from.


registry

simple.http.load.Registry registry
This contains the loaded Service's.


profile

simple.http.load.Profile profile
This contains the configuration of the loader engine.

Class simple.http.load.LoaderPermission extends java.security.BasicPermission implements Serializable

Class simple.http.load.LoadingException extends java.lang.Exception implements Serializable

Class simple.http.load.MapperEngine extends LoaderEngine implements Serializable

Serialized Fields

mapper

Mapper mapper
This is the mapper used by this engine to resolve URIs.


data

java.lang.Object data
Contains the object that is passed to each service object.


Package simple.http.serve

Class simple.http.serve.ContentException extends java.io.IOException implements Serializable

Class simple.http.serve.FormatException extends java.lang.Exception implements Serializable

Class simple.http.serve.LocateException extends java.io.IOException implements Serializable


Package simple.http.session

Class simple.http.session.StoreException extends java.lang.Exception implements Serializable


Package simple.page

Class simple.page.Model extends java.util.HashMap implements Serializable

Serialized Fields

root

java.util.Map<K,V> root
This is contains the attributes from the parent map object.


Package simple.util

Class simple.util.BlockingQueue extends java.lang.Object implements Serializable

Serialized Fields

count

int count
The number of objects in the queue.


queue

java.lang.Object[] queue
This is where the objects are stored.


front

int front
Offset where objects are dequeued from.


rear

int rear
Offset where objects are enqueued to.


capacity

int capacity
The number of objects that can be enqueued.


enqueuing

int enqueuing
The number of threads waiting to dequeue.


dequeuing

int dequeuing
The number of threads waiting to dequeue.

Class simple.util.FileProperties extends java.util.Properties implements Serializable

Serialized Fields

parser

simple.util.PropertyParser parser
Used to load the properties from the specified file.

Class simple.util.PriorityQueue extends java.lang.Object implements Serializable

Serialized Fields

maxPriority

long maxPriority
The maximum priority possible in this priority queue.


data

java.lang.Object[] data
This contains the list of objects in the queue.


value

long[] value
This contains the list of prioritys in the queue.


count

int count
Holds the number of elements currently in the queue.


capacity

int capacity
This holds the number elements this queue can have.

Class simple.util.PropertyException extends java.io.IOException implements Serializable

Class simple.util.Resolver extends java.lang.Object implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
The Resolver object is Serializable so this method is used to recover the contents of the object. Also because the Resolver uses a transient cache this enables the cache to be re-established if the instance is set to enable caching. The cache is instantiated regardless of wheather this uses caching or not.

Throws:
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

matches

java.util.Vector<E> matches
This is used to store the matches and patterns.


size

int size
This is the size of the cache for this instance.

Class simple.util.URLProperties extends java.util.Properties implements Serializable

Serialized Fields

parser

simple.util.PropertyParser parser
Used to load the properties from the specified file.


Package simple.util.lease

Class simple.util.lease.LeaseException extends java.lang.Exception implements Serializable


Package simple.util.net

Class simple.util.net.Cookie extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name
The name attribute of this Cookie.


value

java.lang.String value
The value attribute of this Cookie.


path

java.lang.String path
Represents the value of the path for this cookie.


domain

java.lang.String domain
Represents the value of the domain attribute.


secure

boolean secure
Determines whether the cookie should be secure.


version

int version
Represents the value of the version attribute.


expiry

int expiry
Represents the duration in seconds of the cookie.


Package simple.util.parse

Class simple.util.parse.ContentParser extends Parser implements Serializable

Serialized Fields

subtype

ParseBuffer subtype
Used to store the characters consumed for the subtype.


charset

ParseBuffer charset
Used to store the characters for the charset.


type

ParseBuffer type
Used to store the characters consumed for the type.

Class simple.util.parse.CookieParser extends Parser implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
This readObject method is used so that the CookieCollection can be deserialized with minimal effort. The Parser is reconstructed by reading the characters that form the original cookie header.

Throws:
java.io.IOException - thrown if there is an I/O problem
java.lang.ClassNotFoundException - this is not likley

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
The writeObject method is used so that the CookieCollection can be serialized with minimal effort. To restore the Parser the parse(String) method can be reinvoked.

Throws:
java.io.IOException - is thrown if ther is an I/O error
Serialized Fields

name

simple.util.parse.CookieParser.Token name
Used to store the name of the Cookie.


value

simple.util.parse.CookieParser.Token value
Used to store the value of the Cookie.


path

simple.util.parse.CookieParser.Token path
Used to store the $Path values.


domain

simple.util.parse.CookieParser.Token domain
Used to store the $Domain values.

Class simple.util.parse.DateParser extends Parser implements Serializable

Serialized Fields

month

int month
Used as an index into the months array.


year

int year
Represents the decimal value of the date e.g 1977.


day

int day
Represents the decimal value of the dat e.g 18.


weekday

int weekday
Used as an index into the wkdays array.


hour

int hour
Represents the decimal value of the hour e.g 24.


mins

int mins
Represents the decimal value of the minute.


secs

int secs
Represents the decimal value for the second.

Class simple.util.parse.LanguageParser extends Parser implements Serializable

Serialized Fields

queue

PriorityQueue queue
Used to order the language tags on their qvalues.


list

java.util.Locale[] list
A list of the language Locales preferred.


primary

ParseBuffer primary
Used to consume the characters for the primary language.


subtag

ParseBuffer subtag
Used to consume the characters for the language subtag.


qvalue

int qvalue
Used to represent the value of a Locale.


finished

boolean finished
This is used to determine when the parsing is finished.


parsed

boolean parsed
This is used to determine if a language has been parsed.

Class simple.util.parse.ListParser extends Parser implements Serializable

Serialized Fields

queue

PriorityQueue queue
Provides a quick means of sorting the values extracted.


list

java.lang.String[] list
Contains all the values extracted from the header(s).


text

char[] text
This is used as a working space to parse the value.


qvalue

int qvalue
The quality associated with an individual value.


start

int start
Used to provide a starting value for the quality.


pos

int pos
Used to index into the write offset for the value.

Class simple.util.parse.MapParser extends Parser implements Serializable

Serialized Fields

map

java.util.Hashtable<K,V> map
This is the internal map that provides storage for tokens.

Class simple.util.parse.ParameterParser extends MapParser implements Serializable

Serialized Fields

name

simple.util.parse.ParameterParser.Token name
Used to accumulate the characters for the parameter name.


value

simple.util.parse.ParameterParser.Token value
Used to accumulate the characters for the parameter value.

Class simple.util.parse.ParseBuffer extends java.lang.Object implements Serializable

Serialized Fields

cache

java.lang.String cache
This is used to quicken toString.


buf

char[] buf
The char's this buffer accumulated.


count

int count
This is the number of char's stored.

Class simple.util.parse.Parser extends java.lang.Object implements Serializable

Serialized Fields

buf

char[] buf
This is the buffer that is being parsed.


off

int off
This represents the current read offset.


count

int count
This represents the length of the buffer.

Class simple.util.parse.PathParser extends Parser implements Serializable

Serialized Fields

list

simple.util.parse.PathParser.TokenList list
Used to store the individual path segments.


country

simple.util.parse.PathParser.Token country
Used to store consumed country characters.


lang

simple.util.parse.PathParser.Token lang
Used to store consumed language characters.


name

simple.util.parse.PathParser.Token name
Used to store consumed name characters.


ext

simple.util.parse.PathParser.Token ext
Used to store consumed file extension.


dir

simple.util.parse.PathParser.Token dir
Used to store the highest directory path.


path

simple.util.parse.PathParser.Token path
Used to store consumed normalized path name.

Class simple.util.parse.PrincipalParser extends Parser implements Serializable

Serialized Fields

password

ParseBuffer password
Keeps the characters consumed for the password token.


user

ParseBuffer user
Keeps the characters consumed for the user name token.


four

byte[] four
Keeps the bytes used for decoding base64.


write

int write
Tracks the write offset for the buffer.


ready

int ready
Tracks the ready offset for the four buffer.


read

int read
Tracks the read offset for the buffer.

Class simple.util.parse.PropertyBuffer extends ParseBuffer implements Serializable

Serialized Fields

name

ParseBuffer name
This is used to accumulate the bytes for the variable name.


text

ParseBuffer text
This is used to accumulate the transformed text value.


off

int off
This is used to keep track of the buffer seek offset.

Class simple.util.parse.URIParser extends Parser implements Serializable

Serialized Fields

param

java.util.Hashtable<K,V> param
Parameters are stored so that the can be viewed.


path

simple.util.parse.URIParser.Token path
Used to track the characters that form the path.


domain

simple.util.parse.URIParser.Token domain
Used to track the characters that form the domain.


query

simple.util.parse.URIParser.Token query
Used to track the characters that form the query.


name

simple.util.parse.URIParser.Token name
Used to track the name characters of a parameter.


value

simple.util.parse.URIParser.Token value
Used to track the value characters of a parameter.


scheme

simple.util.parse.URIParser.Token scheme
References the scheme that this URI contains.


port

int port
Contains the port number if it was specified.


Package simple.util.process

Class simple.util.process.ProcessPermission extends java.security.BasicPermission implements Serializable