A B C D E F G H I K L M N O P Q R S T U V W

A

AbstractServer - Class in net.sf.ooweb.http
AbstractServer is a superclass for Ooweb servers allowing subclasses to build on existing HTTP server architectures.
AbstractServer() - Constructor for class net.sf.ooweb.http.AbstractServer
 
ACCEPT - Static variable in interface net.sf.ooweb.util.Codes
Accept
ACCEPT_CHARSET - Static variable in interface net.sf.ooweb.util.Codes
Accept-Charset
ACCEPT_ENCODING - Static variable in interface net.sf.ooweb.util.Codes
Accept-Encoding
ACCEPT_LANGUAGE - Static variable in interface net.sf.ooweb.util.Codes
Accept-Language
ACCEPT_RANGES - Static variable in interface net.sf.ooweb.util.Codes
Accept-Ranges
ACCEPTED - Static variable in interface net.sf.ooweb.util.Codes
Accepted
addController(Object) - Method in class net.sf.ooweb.http.AbstractServer
Register a controller.
addController(Object) - Method in interface net.sf.ooweb.http.Server
Register a controller.
addCookie(Cookie) - Method in class net.sf.ooweb.http.ResponseState
 
addCookie(String, String) - Method in class net.sf.ooweb.http.ResponseState
convenience cookie creation method that uses default values for the expires, path, secure and domain values
addRole(String) - Method in class net.sf.ooweb.http.WebUser
 
addRoles(List<String>) - Method in class net.sf.ooweb.http.WebUser
 
AGE - Static variable in interface net.sf.ooweb.util.Codes
Age
ALLOW - Static variable in interface net.sf.ooweb.util.Codes
Allow
authenticate(String, String) - Method in interface net.sf.ooweb.objectmapping.Authenticator
This method should authenticate the credentials passed to the web framework by the web user.
Authenticator - Interface in net.sf.ooweb.objectmapping
Application code implements Authenticator in order to participate in the OOWeb security framework.
AUTHORIZATION - Static variable in interface net.sf.ooweb.util.Codes
Authorization

B

BAD_GATEWAY - Static variable in interface net.sf.ooweb.util.Codes
Bad Gateway
BAD_REQUEST - Static variable in interface net.sf.ooweb.util.Codes
Bad Request
Base64 - Class in net.sf.ooweb.util
A Base64 Encoder/Decoder.
Base64() - Constructor for class net.sf.ooweb.util.Base64
 

C

Cache - Interface in net.sf.ooweb.http
Cache specifies an interface for any type of cache wanting to serve cached ooweb responses.
CACHE_CONTROL - Static variable in interface net.sf.ooweb.util.Codes
Cache-Control
Cacheable - Annotation Type in net.sf.ooweb.objectmapping
Cacheable specifies if the object (and all its methods) or the specific method have cacheable content.
checkRequest(String, ObjectAndMethod, Map<String, String>, Map<String, Object>, String, Map) - Method in class net.sf.ooweb.http.SecurityManager
handles a request from a security perspective, performing authentication and authorisation as required
CLOSE - Static variable in interface net.sf.ooweb.util.Codes
Connection: close
Codes - Interface in net.sf.ooweb.util
Shared constants.
CONFLICT - Static variable in interface net.sf.ooweb.util.Codes
Conflict
CONNECTION - Static variable in interface net.sf.ooweb.util.Codes
Connection
CONTENT_ENCODING - Static variable in interface net.sf.ooweb.util.Codes
Content-Encoding
CONTENT_LANGUAGE - Static variable in interface net.sf.ooweb.util.Codes
Content-Language
CONTENT_LENGTH - Static variable in interface net.sf.ooweb.util.Codes
Content-Length
CONTENT_LOCATION - Static variable in interface net.sf.ooweb.util.Codes
Content-Location
CONTENT_MD5 - Static variable in interface net.sf.ooweb.util.Codes
Content-MD5
CONTENT_RANGE - Static variable in interface net.sf.ooweb.util.Codes
Content-Range
CONTENT_TYPE - Static variable in interface net.sf.ooweb.util.Codes
Content-Type
CONTINUE - Static variable in interface net.sf.ooweb.util.Codes
Continue
Controller - Annotation Type in net.sf.ooweb.objectmapping
Controller
Cookie - Class in net.sf.ooweb.http
Cookie represents an HTTP cookie and specifies all of the mandatory and optional values that a cookie may have,
Cookie(String, String) - Constructor for class net.sf.ooweb.http.Cookie
Create a cookie using the minimum required information of name and value.
Cookie(String, String, Date, String, String, boolean) - Constructor for class net.sf.ooweb.http.Cookie
Create a cookie supplying all of the required and optional information needed.
COOKIE - Static variable in interface net.sf.ooweb.util.Codes
 
COOKIE_NAME - Static variable in class net.sf.ooweb.sessions.SessionManager
 
CREATED - Static variable in interface net.sf.ooweb.util.Codes
Created
createErrorResponse(HttpResponse, int, Throwable) - Method in class net.sf.ooweb.http.pygmy.OowebHandler
a basic error response when the application didn't define any custom handler for the exception.
createRedirectResponse(HttpResponse, ResponseState) - Method in class net.sf.ooweb.http.pygmy.OowebHandler
 
createResponse(HttpResponse, int, ResponseState) - Method in class net.sf.ooweb.http.pygmy.OowebHandler
 
createSession() - Method in class net.sf.ooweb.sessions.SessionManager
create a new Session and return the sessionId

D

DATE - Static variable in interface net.sf.ooweb.util.Codes
Date
decode(String) - Static method in class net.sf.ooweb.util.Base64
Decodes a Base64 string.
decode(char[]) - Static method in class net.sf.ooweb.util.Base64
Decodes Base64 data.
decodeURLEncoding(String) - Static method in class net.sf.ooweb.util.StringUtils
Takes a URL-encoded string and decodes it.
DEFAULT_QUIP - Static variable in class net.sf.ooweb.http.AbstractServer
 
deleteCookie(String) - Method in class net.sf.ooweb.http.ResponseState
 
dispose() - Method in class net.sf.ooweb.sessions.Session
Disposes of the session

E

encode(String) - Static method in class net.sf.ooweb.util.Base64
Encodes a string into Base64 format.
encode(byte[]) - Static method in class net.sf.ooweb.util.Base64
Encodes a byte array into Base64 format.
encodeURL(String) - Static method in class net.sf.ooweb.util.StringUtils
Performs URL encoding of a string
equals(Object) - Method in class net.sf.ooweb.objectmapping.ObjectAndMethod
simply determines if the hashCodes are the same
ErrorHandler - Interface in net.sf.ooweb.objectmapping
ErrorHandler is implemented by a class that wishes to act as the error handler for the application.
ETAG - Static variable in interface net.sf.ooweb.util.Codes
ETag
Exclude - Annotation Type in net.sf.ooweb.objectmapping
Exclude marks a method as excluded from the Controller.
EXPECT - Static variable in interface net.sf.ooweb.util.Codes
Expect
EXPECTATION_FAILED - Static variable in interface net.sf.ooweb.util.Codes
Expectation Failed
EXPIRES - Static variable in interface net.sf.ooweb.util.Codes
Expires

F

FORBIDDEN - Static variable in interface net.sf.ooweb.util.Codes
Forbidden
FORMDATA_MULTIPART - Static variable in interface net.sf.ooweb.util.Codes
 
FORMDATA_URLENCODED - Static variable in interface net.sf.ooweb.util.Codes
 
FormEncodedFile - Class in net.sf.ooweb.http
Represents a file received via a multipart/form-data POST
FormEncodedFile(String, String, String, byte[]) - Constructor for class net.sf.ooweb.http.FormEncodedFile
 
FOUND - Static variable in interface net.sf.ooweb.util.Codes
Found
FROM - Static variable in interface net.sf.ooweb.util.Codes
From

G

GATEWAY_TIME_OUT - Static variable in interface net.sf.ooweb.util.Codes
Gateway Time-out
generateUUID() - Static method in class net.sf.ooweb.util.StringUtils
Type 1 (time-based) Pure-Java UUID Generator This has the advantage of not using SecureRandom (being time-based) and is therefore fast.
get(ObjectAndMethod) - Method in interface net.sf.ooweb.http.Cache
return a cached ResponseState for the keyed ObjectAndMethod, or null if no such entry exists (or if it's just been expired)
get(ObjectAndMethod) - Method in class net.sf.ooweb.http.SimpleCache
 
getAuthenticator() - Method in interface net.sf.ooweb.objectmapping.Registry
 
getBody() - Method in class net.sf.ooweb.http.ResponseState
 
getCache() - Static method in class net.sf.ooweb.http.AbstractServer
return the cache implementation in use
getCacheTimeout(ObjectAndMethod) - Method in interface net.sf.ooweb.objectmapping.Registry
returns the timeout limit for any cached content generated by this particular object and method.
getController(ObjectAndMethod) - Method in interface net.sf.ooweb.objectmapping.Registry
 
getCookies() - Method in class net.sf.ooweb.http.RequestState
 
getCookies() - Method in class net.sf.ooweb.http.ResponseState
 
getData() - Method in class net.sf.ooweb.http.FormEncodedFile
 
getDomain() - Method in class net.sf.ooweb.http.Cookie
 
getErrorHandler() - Method in interface net.sf.ooweb.objectmapping.Registry
 
getExpires() - Method in class net.sf.ooweb.http.Cookie
 
getFilename() - Method in class net.sf.ooweb.http.FormEncodedFile
 
getFullPath() - Method in class net.sf.ooweb.objectmapping.ObjectAndMethod
 
getHeaderValue() - Method in class net.sf.ooweb.http.Cookie
 
getInstance() - Static method in class net.sf.ooweb.sessions.SessionManager
 
getLastTouched() - Method in class net.sf.ooweb.sessions.Session
Returns the last time (since epoch) the session was touched
getLoginForm() - Method in interface net.sf.ooweb.objectmapping.Registry
 
getMap() - Method in class net.sf.ooweb.sessions.Session
Gets the Map implementation for this session
getMethod() - Method in class net.sf.ooweb.objectmapping.ObjectAndMethod
 
getMethod(ObjectAndMethod) - Method in interface net.sf.ooweb.objectmapping.Registry
 
getMimeType() - Method in class net.sf.ooweb.http.FormEncodedFile
 
getMimeType() - Method in class net.sf.ooweb.http.ResponseState
 
getName() - Method in class net.sf.ooweb.http.Cookie
 
getName() - Method in class net.sf.ooweb.http.FormEncodedFile
 
getName() - Method in class net.sf.ooweb.sessions.Session
 
getNextLocation() - Method in class net.sf.ooweb.http.ResponseState
 
getNumCookies() - Method in class net.sf.ooweb.http.ResponseState
 
getObject() - Method in class net.sf.ooweb.objectmapping.ObjectAndMethod
 
getPath() - Method in class net.sf.ooweb.http.Cookie
 
getQuip() - Method in class net.sf.ooweb.http.AbstractServer
Returns a random quip for the startup message.
getRealm() - Method in exception net.sf.ooweb.http.NotAuthenticatedException
 
getRegistry() - Static method in class net.sf.ooweb.http.AbstractServer
Return the object registry
getRequestArgs() - Method in class net.sf.ooweb.http.RequestState
 
getResponseState() - Method in exception net.sf.ooweb.http.HandlingException
 
getRoles() - Method in class net.sf.ooweb.http.WebUser
 
getRolesFor(ObjectAndMethod) - Method in interface net.sf.ooweb.objectmapping.Registry
Return the roles which a User must have to access the method specified in the oam.
getSession() - Method in class net.sf.ooweb.http.RequestState
 
getSession(String) - Method in class net.sf.ooweb.sessions.SessionManager
Get the current Session
getStrategy() - Method in class net.sf.ooweb.sessions.SessionManager
 
getTimeout() - Method in class net.sf.ooweb.sessions.SessionManager
 
getUserName() - Method in class net.sf.ooweb.http.WebUser
 
getValue() - Method in class net.sf.ooweb.http.Cookie
 
GONE - Static variable in interface net.sf.ooweb.util.Codes
Gone

H

handle() - Method in class net.sf.ooweb.http.RequestHandler
Generic OOWeb request handler.
handleBody(HttpRequest, HttpResponse) - Method in class net.sf.ooweb.http.pygmy.OowebHandler
delegates the request to a RequestHandler after converting Pygmy specific API objects to OOWeb ones
HandlingException - Exception in net.sf.ooweb.http
HandlingException
HandlingException() - Constructor for exception net.sf.ooweb.http.HandlingException
 
HandlingException(String) - Constructor for exception net.sf.ooweb.http.HandlingException
 
HandlingException(String, Throwable) - Constructor for exception net.sf.ooweb.http.HandlingException
 
HandlingException(Throwable) - Constructor for exception net.sf.ooweb.http.HandlingException
 
HandlingException(ResponseState) - Constructor for exception net.sf.ooweb.http.HandlingException
 
hasAuthenticator() - Method in interface net.sf.ooweb.objectmapping.Registry
 
hasController(ObjectAndMethod) - Method in interface net.sf.ooweb.objectmapping.Registry
Checks to see if a controller exists that can handle the path supplied.
hasErrorHandler() - Method in interface net.sf.ooweb.objectmapping.Registry
 
hashCode() - Method in class net.sf.ooweb.objectmapping.ObjectAndMethod
support the equals() method
hasLoginForm() - Method in interface net.sf.ooweb.objectmapping.Registry
 
hasMethod(ObjectAndMethod) - Method in interface net.sf.ooweb.objectmapping.Registry
 
hasRole(String) - Method in class net.sf.ooweb.http.WebUser
 
hasRole(String) - Method in interface net.sf.ooweb.objectmapping.User
Determine whether the user has a given role or not.
HOST - Static variable in interface net.sf.ooweb.util.Codes
Host
HTTP_VERSION_NOT_SUPPORTED - Static variable in interface net.sf.ooweb.util.Codes
HTTP Version not supported

I

IF_MATCH - Static variable in interface net.sf.ooweb.util.Codes
If-Match
IF_MODIFIED_SINCE - Static variable in interface net.sf.ooweb.util.Codes
If-Modified-Since
IF_NONE_MATCH - Static variable in interface net.sf.ooweb.util.Codes
If-None-Match
IF_RANGE - Static variable in interface net.sf.ooweb.util.Codes
If-Range
IF_UNMODIFIED_SINCE - Static variable in interface net.sf.ooweb.util.Codes
If-Unmodified-Since
initialiseCache() - Static method in class net.sf.ooweb.http.AbstractServer
subclasses should override to provide a concrete inplementation of the Cache interface that will be used by this server.
initialize(String, Server) - Method in class net.sf.ooweb.http.pygmy.OowebHandler
 
INTERNAL_SERVER_ERROR - Static variable in interface net.sf.ooweb.util.Codes
Internal PygmyServer Error
invalidateSession() - Method in class net.sf.ooweb.http.ResponseState
deletes the session cookie from the next response - effectively invalidating the session
invalidateSession(String) - Method in class net.sf.ooweb.sessions.SessionManager
 
isCacheable(ObjectAndMethod) - Method in interface net.sf.ooweb.objectmapping.Registry
lets a client know whether the method was explicitly (or implicitly at class level) marked as being safe to cache.
isOlderThan(long) - Method in class net.sf.ooweb.sessions.Session
Checks whether the session has expired based on session timeout value
isRedirect() - Method in class net.sf.ooweb.http.ResponseState
 
isRequestdForHandler(HttpRequest) - Method in class net.sf.ooweb.http.pygmy.OowebHandler
 
isSecure() - Method in class net.sf.ooweb.http.Cookie
 

K

KEEP_ALIVE - Static variable in interface net.sf.ooweb.util.Codes
HTTP/1.0 keep alive

L

LAST_MODIFIED - Static variable in interface net.sf.ooweb.util.Codes
Last-Modified
lastTouched - Variable in class net.sf.ooweb.sessions.Session
 
LENGTH_REQUIRED - Static variable in interface net.sf.ooweb.util.Codes
Length Required
LOCATION - Static variable in interface net.sf.ooweb.util.Codes
Location
logger - Variable in class net.sf.ooweb.http.AbstractServer
 
logger - Variable in class net.sf.ooweb.http.pygmy.OowebHandler
 
logger - Variable in class net.sf.ooweb.http.SecurityManager
 
logger - Variable in class net.sf.ooweb.sessions.SessionManager
 
LOGIN_FORM_POST - Static variable in class net.sf.ooweb.http.SecurityManager
 
LOGIN_REDIRECT_COOKIE_NAME - Static variable in class net.sf.ooweb.http.SecurityManager
 
LoginForm - Interface in net.sf.ooweb.objectmapping
LoginForm is implemented by a class that wishes to act as the login form generator for the application.
loginForm(String, String, String) - Method in interface net.sf.ooweb.objectmapping.LoginForm
The method that will be called to generate the form used to capture login details.

M

mapImpl - Variable in class net.sf.ooweb.sessions.Session
 
MAX_FORWARDS - Static variable in interface net.sf.ooweb.util.Codes
Max-Forwards
METHOD_NOT_ALLOWED - Static variable in interface net.sf.ooweb.util.Codes
Method Not Allowed
MOVED_PERMANENTLY - Static variable in interface net.sf.ooweb.util.Codes
Moved Permanently
MULTIPLE_CHOICES - Static variable in interface net.sf.ooweb.util.Codes
Multiple Choices

N

name - Variable in class net.sf.ooweb.sessions.Session
 
net.sf.ooweb.http - package net.sf.ooweb.http
This package contains the HTTP support classes.
net.sf.ooweb.http.pygmy - package net.sf.ooweb.http.pygmy
This package contains the pygmy httpd implementation of the plugin API.
net.sf.ooweb.objectmapping - package net.sf.ooweb.objectmapping
 
net.sf.ooweb.sessions - package net.sf.ooweb.sessions
This package defines the Session management in OOWeb.
net.sf.ooweb.util - package net.sf.ooweb.util
The util package offers (mainly) static helper classes and methods used by other packages.
NO_CONTENT - Static variable in interface net.sf.ooweb.util.Codes
No Content
NON_AUTHORITATIVE_INFORMATION - Static variable in interface net.sf.ooweb.util.Codes
Non-Authoritative Information
NOT_ACCEPTABLE - Static variable in interface net.sf.ooweb.util.Codes
Not Acceptable
NOT_FOUND - Static variable in interface net.sf.ooweb.util.Codes
Not Found
NOT_IMPLEMENTED - Static variable in interface net.sf.ooweb.util.Codes
Not Implemented
NOT_MODIFIED - Static variable in interface net.sf.ooweb.util.Codes
Not Modified
NotAuthenticatedException - Exception in net.sf.ooweb.http
NotAuthenticatedException is thrown to indicate that no authentication credentials were found in the request, or that the credentials didn't match any known user of the application.
NotAuthenticatedException() - Constructor for exception net.sf.ooweb.http.NotAuthenticatedException
default c'tor
NotAuthenticatedException(String) - Constructor for exception net.sf.ooweb.http.NotAuthenticatedException
 
NotAuthenticatedException(String, Throwable) - Constructor for exception net.sf.ooweb.http.NotAuthenticatedException
 
NotAuthenticatedException(Throwable) - Constructor for exception net.sf.ooweb.http.NotAuthenticatedException
 
NotAuthorisedException - Exception in net.sf.ooweb.http
NotAuthorizedException is thrown to indicate that the authenticated user has no permission to perform the requested action
NotAuthorisedException() - Constructor for exception net.sf.ooweb.http.NotAuthorisedException
 
NotAuthorisedException(String) - Constructor for exception net.sf.ooweb.http.NotAuthorisedException
 
NotAuthorisedException(String, Throwable) - Constructor for exception net.sf.ooweb.http.NotAuthorisedException
 
NotAuthorisedException(Throwable) - Constructor for exception net.sf.ooweb.http.NotAuthorisedException
 

O

ObjectAndMethod - Class in net.sf.ooweb.objectmapping
ObjectAndMethod is a simple value object holding the name of the mapped object and the required method to call on that object.
ObjectAndMethod(String) - Constructor for class net.sf.ooweb.objectmapping.ObjectAndMethod
creates an ObjectAndMethod representation from a string path by sanitising the string and splitting it into its component parts.
OK - Static variable in interface net.sf.ooweb.util.Codes
OK
onError(Throwable) - Method in interface net.sf.ooweb.objectmapping.ErrorHandler
 
OowebHandler - Class in net.sf.ooweb.http.pygmy
The implementation of the Pygmy httpd plugin interface.
OowebHandler() - Constructor for class net.sf.ooweb.http.pygmy.OowebHandler
 
OowebServer - Class in net.sf.ooweb.http.pygmy
PygmyServer
OowebServer() - Constructor for class net.sf.ooweb.http.pygmy.OowebServer
 
OowebServer(File) - Constructor for class net.sf.ooweb.http.pygmy.OowebServer
 

P

PARTIAL_CONTENT - Static variable in interface net.sf.ooweb.util.Codes
Partial Content
PASSWORD_FIELD - Static variable in class net.sf.ooweb.http.SecurityManager
 
PAYMENT_REQUIRED - Static variable in interface net.sf.ooweb.util.Codes
Payment Required
PRAGMA - Static variable in interface net.sf.ooweb.util.Codes
Pragma
PRECONDITION_FAILED - Static variable in interface net.sf.ooweb.util.Codes
Precondition Failed
PROXY_AUTHENTICATE - Static variable in interface net.sf.ooweb.util.Codes
Proxy-Authenticate
PROXY_AUTHENTICATION_REQUIRED - Static variable in interface net.sf.ooweb.util.Codes
Proxy Authentication Required
PROXY_AUTHORIZATION - Static variable in interface net.sf.ooweb.util.Codes
Proxy-Authorization
put(ObjectAndMethod, ResponseState, Long) - Method in interface net.sf.ooweb.http.Cache
add a new object to cache specifying the maximum timeout
put(ObjectAndMethod, ResponseState, Long) - Method in class net.sf.ooweb.http.SimpleCache
 

Q

QUIP_FILE - Static variable in class net.sf.ooweb.http.AbstractServer
 
quipList - Static variable in class net.sf.ooweb.http.AbstractServer
 

R

RANGE - Static variable in interface net.sf.ooweb.util.Codes
Range
REFERER - Static variable in interface net.sf.ooweb.util.Codes
Referer
Registry - Interface in net.sf.ooweb.objectmapping
Registry is the URL -> object mapper.
replace(String, String, String) - Static method in class net.sf.ooweb.util.StringUtils
Replace all occurences of a substring within a string with another string.
REQUEST_ENTITY_TOO_LARGE - Static variable in interface net.sf.ooweb.util.Codes
Request Entity Too Large
REQUEST_TIME_OUT - Static variable in interface net.sf.ooweb.util.Codes
Request Time-out
REQUEST_URI_TOO_LARGE - Static variable in interface net.sf.ooweb.util.Codes
Request-URI Too Large
REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in interface net.sf.ooweb.util.Codes
Requested range not satisfiable
RequestHandler - Class in net.sf.ooweb.http
RequestHandler - methods to assist with request operations and parsing without being tied to any given HTTP or application implementation.
RequestHandler(String, String, String, Map<String, String>, byte[]) - Constructor for class net.sf.ooweb.http.RequestHandler
 
RequestState - Class in net.sf.ooweb.http
RequestState is a placeholder for server side state that is passed to client methods (Controller methods) when they declare it as a parameter.
RequestState(Map<String, String>, Map<String, Object>, Map<String, Object>) - Constructor for class net.sf.ooweb.http.RequestState
 
RESET_CONTENT - Static variable in interface net.sf.ooweb.util.Codes
Reset Content
ResponseState - Class in net.sf.ooweb.http
ResponseState can be returned by any controller method in order to have the framework set cookies, update or invalidate a session and take advantage of the inbuilt templating support (depending on the version of Ooweb in use)
ResponseState() - Constructor for class net.sf.ooweb.http.ResponseState
 
RETRY_AFTER - Static variable in interface net.sf.ooweb.util.Codes
Retry-After

S

saveToFile(File) - Method in class net.sf.ooweb.http.FormEncodedFile
Saves the file to disk
Secure - Annotation Type in net.sf.ooweb.objectmapping
Secure
SecurityManager - Class in net.sf.ooweb.http
SecurityHandler
SecurityManager(Registry) - Constructor for class net.sf.ooweb.http.SecurityManager
 
SEE_OTHER - Static variable in interface net.sf.ooweb.util.Codes
See Other
sendRedirect(String) - Method in class net.sf.ooweb.http.ResponseState
creates a response that instructs the client to request a new page from the site
Server - Interface in net.sf.ooweb.http
PygmyServer
SERVER - Static variable in interface net.sf.ooweb.util.Codes
PygmyServer
SERVICE_UNAVAILABLE - Static variable in interface net.sf.ooweb.util.Codes
Service Unavailable
Session - Class in net.sf.ooweb.sessions
Base class for sessions used by OOWeb.
Session(String) - Constructor for class net.sf.ooweb.sessions.Session
Creates a session with an optional name
SESSION_STRATEGY - Static variable in class net.sf.ooweb.http.pygmy.OowebHandler
value that pygmy will extract from the properties files for us
SESSION_TIMEOUT - Static variable in class net.sf.ooweb.http.pygmy.OowebHandler
value that pygmy will extract from the properties files for us
SessionManager - Class in net.sf.ooweb.sessions
SessionManager holds a static map of sessions, keyed by session id.
SessionManager.Strategy - Enum in net.sf.ooweb.sessions
 
SET_COOKIE - Static variable in interface net.sf.ooweb.util.Codes
Set-Cookie
setBody(Object) - Method in class net.sf.ooweb.http.ResponseState
adds to the list of body sections that will eventually be streamed as a whole
setControllers(List) - Method in class net.sf.ooweb.http.AbstractServer
Register a List of controllers, each of which must carry the @Controller annotation at the class level
setControllers(List) - Method in interface net.sf.ooweb.http.Server
Register a List of controllers, each of which must carry the @Controller annotation at the class level
setMimeType(String) - Method in class net.sf.ooweb.http.ResponseState
 
setRealm(String) - Method in exception net.sf.ooweb.http.NotAuthenticatedException
 
setStrategy(SessionManager.Strategy) - Method in class net.sf.ooweb.sessions.SessionManager
 
setTimeout(long) - Method in class net.sf.ooweb.sessions.SessionManager
 
setUserName(String) - Method in class net.sf.ooweb.http.WebUser
 
SimpleCache - Class in net.sf.ooweb.http
SimpleCache is just a memory cache with no distribution or delta capability.
SimpleCache() - Constructor for class net.sf.ooweb.http.SimpleCache
 
split(String, String) - Static method in class net.sf.ooweb.util.StringUtils
Splits a string by a particular char and returns an array of strings.
start() - Method in class net.sf.ooweb.http.AbstractServer
subclasses usually will want to override this method to actually start the server.
start() - Method in class net.sf.ooweb.http.pygmy.OowebServer
 
start() - Method in interface net.sf.ooweb.http.Server
Start with default config
stop() - Method in class net.sf.ooweb.http.AbstractServer
subclasses can optionally override the stop method to shutdown the server gracefully.
stop() - Method in class net.sf.ooweb.http.pygmy.OowebServer
 
stop() - Method in interface net.sf.ooweb.http.Server
Stop the server gracefully
StringUtils - Class in net.sf.ooweb.util
StringUtils
SWITCHING_PROTOCOLS - Static variable in interface net.sf.ooweb.util.Codes
Switching Protocols

T

TE - Static variable in interface net.sf.ooweb.util.Codes
TE
TEMPORARY_REDIRECT - Static variable in interface net.sf.ooweb.util.Codes
Temporary Redirect
TEXT_HTML - Static variable in interface net.sf.ooweb.util.Codes
text/html
TEXT_PLAIN - Static variable in interface net.sf.ooweb.util.Codes
text/plain
toString() - Method in class net.sf.ooweb.http.Cookie
Can be used to write the actual lcookie into an HTTP response stream.
toString() - Method in class net.sf.ooweb.http.FormEncodedFile
returns a simple representation of the file type
toString() - Method in class net.sf.ooweb.objectmapping.ObjectAndMethod
 
touch() - Method in class net.sf.ooweb.sessions.Session
"Touches" the session to prevent it expiring
TRAILER - Static variable in interface net.sf.ooweb.util.Codes
Trailer
TRANSFER_ENCODING - Static variable in interface net.sf.ooweb.util.Codes
Transfer-Encoding

U

UNAUTHORIZED - Static variable in interface net.sf.ooweb.util.Codes
Unauthorized
UNSUPPORTED_MEDIA_TYPE - Static variable in interface net.sf.ooweb.util.Codes
Unsupported Media Type
UPGRADE - Static variable in interface net.sf.ooweb.util.Codes
Upgrade
USE_PROXY - Static variable in interface net.sf.ooweb.util.Codes
Use Proxy
User - Interface in net.sf.ooweb.objectmapping
User represents an authenticated user of an OOWeb application.
USER_AGENT - Static variable in interface net.sf.ooweb.util.Codes
User-Agent
USER_SESSION_KEY - Static variable in class net.sf.ooweb.http.SecurityManager
 
USERNAME_FIELD - Static variable in class net.sf.ooweb.http.SecurityManager
 

V

valueOf(String) - Static method in enum net.sf.ooweb.sessions.SessionManager.Strategy
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.sf.ooweb.sessions.SessionManager.Strategy
Returns an array containing the constants of this enum type, in the order they are declared.
VARY - Static variable in interface net.sf.ooweb.util.Codes
Vary
VIA - Static variable in interface net.sf.ooweb.util.Codes
Via

W

WARNING - Static variable in interface net.sf.ooweb.util.Codes
Warning
WebUser - Class in net.sf.ooweb.http
WebUser implements the User interface to provide basic user modelling.
WebUser() - Constructor for class net.sf.ooweb.http.WebUser
 
WWW_AUTHENTICATE - Static variable in interface net.sf.ooweb.util.Codes
WWW-Authenticate

A B C D E F G H I K L M N O P Q R S T U V W

Copyright (C) 2005-2007 OOWeb Authors.