A B C D E G H I M N O P R S T U W

A

AcceptEverythingRule - Class in net.sf.j2ep.rules
This rule matches every request passed to it, making it suitable for use as a catch-all or last rule in a chain.
AcceptEverythingRule() - Constructor for class net.sf.j2ep.rules.AcceptEverythingRule
 
addBannedHeader(String) - Static method in class net.sf.j2ep.requesthandlers.RequestHandlerBase
Adds a headers to the list of banned headers.
addBannedHeaders(String) - Static method in class net.sf.j2ep.requesthandlers.RequestHandlerBase
Adds all the headers in the input to the list of banned headers.
addHeader(String, String) - Method in class net.sf.j2ep.servers.ClusterResponseWrapper
Checks for the set-cookie header.
addHeader(String, String) - Method in class net.sf.j2ep.UrlRewritingResponseWrapper
Checks if we have to rewrite the header and if so will rewrite it.
addRule(Rule) - Method in class net.sf.j2ep.rules.CompositeRule
Used to add a rule to the list.
addServer(Server) - Method in class net.sf.j2ep.ServerChain
Adds a server to evaluate.
addServer(String, String) - Method in class net.sf.j2ep.servers.ClusterContainer
Will create a new ClusteredServer and add it to the hash map.
addServer(Server) - Method in class net.sf.j2ep.servers.ServerStatusChecker
Adds a server that we will check for it's status.
AllowedMethodHandler - Class in net.sf.j2ep.model
A utility class that will be used throughout the project to process headers to filter out those not allowed by the proxy.
AllowedMethodHandler() - Constructor for class net.sf.j2ep.model.AllowedMethodHandler
 

B

BaseRule - Class in net.sf.j2ep.rules
The BaseRule is an empty rule implementation which can be extended.
BaseRule() - Constructor for class net.sf.j2ep.rules.BaseRule
 
BaseServer - Class in net.sf.j2ep.servers
 
BaseServer() - Constructor for class net.sf.j2ep.servers.BaseServer
Basic constructor that will initialize the directory to "".
BasicRequestHandler - Class in net.sf.j2ep.requesthandlers
A handler for GET, HEAD, DELETE.
BasicRequestHandler() - Constructor for class net.sf.j2ep.requesthandlers.BasicRequestHandler
 
BasicResponseHandler - Class in net.sf.j2ep.responsehandlers
A simple ResponseHandler used for all those times when all you have to do is write the Headers and process the stream.
BasicResponseHandler(HttpMethod) - Constructor for class net.sf.j2ep.responsehandlers.BasicResponseHandler
Default constructor, will only call the super-constructor for ResponseHandlerBase.

C

close() - Method in interface net.sf.j2ep.model.ResponseHandler
Do any actions needed when we wont need the ResponseHandler any more.
close() - Method in class net.sf.j2ep.responsehandlers.ResponseHandlerBase
Will release the connection for the method.
close() - Method in class net.sf.j2ep.UrlRewritingOutputStream
 
ClusterContainer - Class in net.sf.j2ep.servers
A ServerContainer implementation that have multiple domains to choose from.
ClusterContainer() - Constructor for class net.sf.j2ep.servers.ClusterContainer
Basic constructor
ClusterContainer.ClusteredServer - Class in net.sf.j2ep.servers
A server in the cluster.
ClusterContainer.ClusteredServer(String, String, String) - Constructor for class net.sf.j2ep.servers.ClusterContainer.ClusteredServer
Basic constructor that sets the domain name and directory.
ClusterRequestWrapper - Class in net.sf.j2ep.servers
A wrapper for requests that will create it's own set of headers.
ClusterRequestWrapper(HttpServletRequest) - Constructor for class net.sf.j2ep.servers.ClusterRequestWrapper
Constructor, will check all cookies if they include JSESSIONID.
ClusterResponseWrapper - Class in net.sf.j2ep.servers
A wrapper that will make sure sessions are rewritten so that the server can be derived from the session.
ClusterResponseWrapper(HttpServletResponse, String) - Constructor for class net.sf.j2ep.servers.ClusterResponseWrapper
Basic constructor, will set the id that we should add to add the sessions to make sure that the session is tracked to a specific server.
CompositeRule - Class in net.sf.j2ep.rules
This rule consists of many other rules using the composite design pattern.
CompositeRule() - Constructor for class net.sf.j2ep.rules.CompositeRule
Empty constructor, will only create the list of rules.
ConfigParser - Class in net.sf.j2ep
The config parser uses Digester to parse the config file.
ConfigParser(File) - Constructor for class net.sf.j2ep.ConfigParser
Standard constructor only specifying the input file.
createNewServer(String, String) - Method in class net.sf.j2ep.servers.ClusterContainer
Will create a new server based on the domainName and the directory.
createNewServer(String, String) - Method in class net.sf.j2ep.servers.RoundRobinCluster
 
createRequestMethod(String) - Static method in class net.sf.j2ep.factories.RequestHandlerFactory
Selects one suitable RequestMethod from the HashMap.
createResponseHandler(HttpMethod) - Static method in class net.sf.j2ep.factories.ResponseHandlerFactory
Checks the method being received and created a suitable ResponseHandler for this method.

D

DeleteResponseHandler - Class in net.sf.j2ep.responsehandlers
Handler for the DELETE method.
DeleteResponseHandler(DeleteMethod) - Constructor for class net.sf.j2ep.responsehandlers.DeleteResponseHandler
Default constructor, will only call the super-constructor for BasicResponseHandler.
destroy() - Method in class net.sf.j2ep.ProxyFilter
 
destroy() - Method in class net.sf.j2ep.RewriteFilter
Release resources.
DirectoryRule - Class in net.sf.j2ep.rules
A rule that will check the start of the URI for a specifed starting directory/directories.
DirectoryRule() - Constructor for class net.sf.j2ep.rules.DirectoryRule
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class net.sf.j2ep.ProxyFilter
Implementation of a reverse-proxy.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class net.sf.j2ep.RewriteFilter
Rewrites the outgoing stream to make sure URLs and headers are correct.

E

EntityEnclosingRequestHandler - Class in net.sf.j2ep.requesthandlers
Handler for POST and PUT methods.
EntityEnclosingRequestHandler() - Constructor for class net.sf.j2ep.requesthandlers.EntityEnclosingRequestHandler
 
evaluate(HttpServletRequest) - Method in class net.sf.j2ep.ServerChain
Evaluates the given request to see if any of the rules matches.

G

getAllowedMethods() - Method in exception net.sf.j2ep.factories.MethodNotAllowedException
Returns which methods that are allowed by the instance throwing this exception.
getAllowHeader() - Static method in class net.sf.j2ep.model.AllowedMethodHandler
Returns the allow methods for this proxy.
getDirectory() - Method in class net.sf.j2ep.rules.DirectoryRule
Returns the directory structure that this rule will match on.
getDomainName() - Method in interface net.sf.j2ep.model.Server
Returns the host name and port for this server.
getDomainName() - Method in class net.sf.j2ep.servers.BaseServer
 
getDomainName() - Method in class net.sf.j2ep.servers.ClusterContainer.ClusteredServer
 
getEndRange() - Method in class net.sf.j2ep.rules.IPRule
Returns the ending range that a connection has to be made from to be triggered by this rule.
getHeader(String) - Method in class net.sf.j2ep.servers.ClusterRequestWrapper
Will return the default request's header unless we are requesting a cookie.
getHeaders(String) - Method in class net.sf.j2ep.servers.ClusterRequestWrapper
Will return the default request's headers unless we are requesting a cookie.
getNextServer() - Method in class net.sf.j2ep.servers.ClusterContainer
Returns the next server in out cluster.
getNextServer() - Method in class net.sf.j2ep.servers.RoundRobinCluster
Returns the next in the cluster.
getOutputStream() - Method in class net.sf.j2ep.UrlRewritingResponseWrapper
Based on the value in the content-type header we either return the default stream or our own stream that can rewrite links.
getPath() - Method in interface net.sf.j2ep.model.Server
Returns the path that we are mapping to.
getPath() - Method in class net.sf.j2ep.servers.BaseServer
 
getPath() - Method in class net.sf.j2ep.servers.ClusterContainer.ClusteredServer
 
GetResponseHandler - Class in net.sf.j2ep.responsehandlers
Handler for the GET method.
GetResponseHandler(GetMethod) - Constructor for class net.sf.j2ep.responsehandlers.GetResponseHandler
Default constructor, will only call the super-constructor for BasicResponseHandler.
getRule() - Method in interface net.sf.j2ep.model.Server
Returns the mapped rule so we can rewrite links.
getRule() - Method in interface net.sf.j2ep.model.ServerContainer
Returns the mapped rule.
getRule() - Method in class net.sf.j2ep.servers.ClusterContainer.ClusteredServer
 
getRule() - Method in class net.sf.j2ep.servers.ServerContainerBase
 
getServer(HttpServletRequest) - Method in interface net.sf.j2ep.model.ServerContainer
Do any processing needed before this server can be used.
getServer(HttpServletRequest) - Method in class net.sf.j2ep.servers.BaseServer
 
getServer(HttpServletRequest) - Method in class net.sf.j2ep.servers.ClusterContainer
Checks the request for any session.
getServerChain() - Method in class net.sf.j2ep.ConfigParser
Returns the parsed server chain.
getServerId() - Method in class net.sf.j2ep.servers.ClusterContainer.ClusteredServer
Returns this servers ID.
getServerIterator() - Method in class net.sf.j2ep.ServerChain
Returns an iterator over the list of servers to evaluate.
getServerMapped(String) - Method in interface net.sf.j2ep.model.ServerContainer
Finds a server with the full path specified by the location sent in.
getServerMapped(String) - Method in class net.sf.j2ep.ServerChain
Finds a server with the full path specified by the location sent in.
getServerMapped(String) - Method in class net.sf.j2ep.servers.BaseServer
 
getServerMapped(String) - Method in class net.sf.j2ep.servers.ClusterContainer
 
getServers() - Method in class net.sf.j2ep.ServerChain
Returns the list of servers to evaluate.
getStartRange() - Method in class net.sf.j2ep.rules.IPRule
Returns the beginning range that a connection has to be made from to be triggered by this rule.
getStatusCode() - Method in interface net.sf.j2ep.model.ResponseHandler
Returns the HTTP status code we received from the server
getStatusCode() - Method in class net.sf.j2ep.responsehandlers.OptionsResponseHandler
Returns 200 if the request is targeted to the proxy otherwise the normal status code is returned.
getStatusCode() - Method in class net.sf.j2ep.responsehandlers.ResponseHandlerBase
 
getStatusCode() - Method in class net.sf.j2ep.responsehandlers.TraceResponseHandler
Returns 200 if the request is targeted to the proxy otherwise the normal status code is returned.
getWriter() - Method in class net.sf.j2ep.UrlRewritingResponseWrapper
Based on the value in the content-type header we either return the default writer or our own writer.

H

HeadResponseHandler - Class in net.sf.j2ep.responsehandlers
Handler for the HEAD method.
HeadResponseHandler(HeadMethod) - Constructor for class net.sf.j2ep.responsehandlers.HeadResponseHandler
Default constructor, will only call the super-constructor for BasicResponseHandler.

I

init(FilterConfig) - Method in class net.sf.j2ep.ProxyFilter
 
init(FilterConfig) - Method in class net.sf.j2ep.RewriteFilter
Initialize.
IPRule - Class in net.sf.j2ep.rules
This rule will check the IP for the remote user allowing the user if his IP is in the specified range.
IPRule() - Constructor for class net.sf.j2ep.rules.IPRule
 

M

matches(HttpServletRequest) - Method in interface net.sf.j2ep.model.Rule
Determines if the given request matches the rule.
matches(HttpServletRequest) - Method in class net.sf.j2ep.rules.AcceptEverythingRule
This implementation always matches.
matches(HttpServletRequest) - Method in class net.sf.j2ep.rules.CompositeRule
Iterates over all the rules in the list checking that they all match.
matches(HttpServletRequest) - Method in class net.sf.j2ep.rules.DirectoryRule
Will see if the directory for the incoming URI is the same as this rule is set to match on.
matches(HttpServletRequest) - Method in class net.sf.j2ep.rules.IPRule
Checks the IP for the remote user, if it's in the specified range it's a match.
matches(HttpServletRequest) - Method in class net.sf.j2ep.rules.RewriteRule
Will check if the URI matches the pattern we have set up.
matches(HttpServletRequest) - Method in class net.sf.j2ep.rules.TimeRule
Making check to see that the time lies between the start and end time.
MaxForwardRequestHandler - Class in net.sf.j2ep.requesthandlers
Handler for the OPTIONS and TRACE method.
MaxForwardRequestHandler() - Constructor for class net.sf.j2ep.requesthandlers.MaxForwardRequestHandler
 
method - Variable in class net.sf.j2ep.responsehandlers.ResponseHandlerBase
Method we are using for this request.
methodAllowed(String) - Static method in class net.sf.j2ep.model.AllowedMethodHandler
Will check if the specified method is allowed by looking if it is included in the allowedMethods.
methodAllowed(HttpMethod) - Static method in class net.sf.j2ep.model.AllowedMethodHandler
Checks the method to see if it's allowed
MethodNotAllowedException - Exception in net.sf.j2ep.factories
An exception thrown when a factory can't handle the incoming method.
MethodNotAllowedException(String, String) - Constructor for exception net.sf.j2ep.factories.MethodNotAllowedException
Basic constructor creating a exception.

N

net.sf.j2ep - package net.sf.j2ep
 
net.sf.j2ep.factories - package net.sf.j2ep.factories
 
net.sf.j2ep.model - package net.sf.j2ep.model
 
net.sf.j2ep.requesthandlers - package net.sf.j2ep.requesthandlers
 
net.sf.j2ep.responsehandlers - package net.sf.j2ep.responsehandlers
 
net.sf.j2ep.rules - package net.sf.j2ep.rules
 
net.sf.j2ep.servers - package net.sf.j2ep.servers
 

O

online() - Method in class net.sf.j2ep.servers.ClusterContainer.ClusteredServer
Returns the online status of this server
OptionsResponseHandler - Class in net.sf.j2ep.responsehandlers
Handler for the OPTIONS method.
OptionsResponseHandler(OptionsMethod) - Constructor for class net.sf.j2ep.responsehandlers.OptionsResponseHandler
Constructor checking if we should handle the Allow header ourself or respond with the backing servers header.

P

postExecute(HttpServletResponse) - Method in interface net.sf.j2ep.model.Server
Can do handling of the response, if needed the server can also return a new HttpServletResponse if a wrapper of the response is needed.
postExecute(HttpServletResponse) - Method in class net.sf.j2ep.servers.BaseServer
Will no do any handling
postExecute(HttpServletResponse) - Method in class net.sf.j2ep.servers.ClusterContainer.ClusteredServer
Will wrap the response so that sessions are rewritten to remove the tailing .something that indicated which server the session is linked to.
PostResponseHandler - Class in net.sf.j2ep.responsehandlers
Handler for the POST method.
PostResponseHandler(PostMethod) - Constructor for class net.sf.j2ep.responsehandlers.PostResponseHandler
Default constructor, will only call the super-constructor for ResponseHandlerBase.
preExecute(HttpServletRequest) - Method in interface net.sf.j2ep.model.Server
Can do any handling needed of a request before the HttpMethod is executed.
preExecute(HttpServletRequest) - Method in class net.sf.j2ep.servers.BaseServer
Will no do any handling
preExecute(HttpServletRequest) - Method in class net.sf.j2ep.servers.ClusterContainer.ClusteredServer
Will wrap the request so the tailing .something, identifying the server, is removed from the request.
process(HttpServletRequest, String) - Method in interface net.sf.j2ep.model.RequestHandler
Creates a new HttpMethod for this request.
process(HttpServletResponse) - Method in interface net.sf.j2ep.model.ResponseHandler
Will process the response to set headers and streams for it.
process(String) - Method in interface net.sf.j2ep.model.Rule
Returns the redirect URI for requests that match this rule.
process(HttpServletRequest, String) - Method in class net.sf.j2ep.requesthandlers.BasicRequestHandler
Will only set the headers.
process(HttpServletRequest, String) - Method in class net.sf.j2ep.requesthandlers.EntityEnclosingRequestHandler
Will set the input stream and the Content-Type header to match this request.
process(HttpServletRequest, String) - Method in class net.sf.j2ep.requesthandlers.MaxForwardRequestHandler
Sets the headers and does some checking for if this request is meant for the server or for the proxy.
process(HttpServletRequest, String) - Method in class net.sf.j2ep.requesthandlers.RequestHandlerBase
 
process(HttpServletResponse) - Method in class net.sf.j2ep.responsehandlers.BasicResponseHandler
Sets the headers, writes the stream and sets the status code.
process(HttpServletResponse) - Method in class net.sf.j2ep.responsehandlers.HeadResponseHandler
Will only set the headers and status code, no response is sent.
process(HttpServletResponse) - Method in class net.sf.j2ep.responsehandlers.OptionsResponseHandler
Will check if we are to handle this request, if so the http methods allowed by this proxy is returned in the Allow header.
process(HttpServletResponse) - Method in class net.sf.j2ep.responsehandlers.ResponseHandlerBase
 
process(HttpServletResponse) - Method in class net.sf.j2ep.responsehandlers.TraceResponseHandler
Will either respond with data from the underlying server or the proxy's own data.
process(String) - Method in class net.sf.j2ep.rules.BaseRule
 
process(String) - Method in class net.sf.j2ep.rules.CompositeRule
Process all the rules in the list, allowing them all to change the URI.
process(String) - Method in class net.sf.j2ep.rules.DirectoryRule
Removes the specified mapping directory from the URI.
process(String) - Method in class net.sf.j2ep.rules.RewriteRule
Will use the pattern and the rewriteTo string to rewrite the URI before using it to connection to the end server.
processAllowHeader(String) - Static method in class net.sf.j2ep.model.AllowedMethodHandler
Will go through all the methods sent in checking to see that the method is allowed.
processStream() - Method in class net.sf.j2ep.UrlRewritingResponseWrapper
Rewrites the output stream to change any links.
ProxyFilter - Class in net.sf.j2ep
A reverse proxy using a set of Rules to identify which resource to proxy.
ProxyFilter() - Constructor for class net.sf.j2ep.ProxyFilter
 
PutResponseHandler - Class in net.sf.j2ep.responsehandlers
Handler for the PUT method.
PutResponseHandler(PutMethod) - Constructor for class net.sf.j2ep.responsehandlers.PutResponseHandler
Default constructor, will only call the super-constructor for ResponseHandlerBase.

R

RequestHandler - Interface in net.sf.j2ep.model
A handler for all requests.
RequestHandlerBase - Class in net.sf.j2ep.requesthandlers
A basic implementation of the RequestHandler.
RequestHandlerBase() - Constructor for class net.sf.j2ep.requesthandlers.RequestHandlerBase
 
RequestHandlerFactory - Class in net.sf.j2ep.factories
A factory creating RequestHandlers.
RequestHandlerFactory() - Constructor for class net.sf.j2ep.factories.RequestHandlerFactory
 
ResponseHandler - Interface in net.sf.j2ep.model
A handler for all responses.
ResponseHandlerBase - Class in net.sf.j2ep.responsehandlers
Basic implementation of a Response Handler.
ResponseHandlerBase(HttpMethod) - Constructor for class net.sf.j2ep.responsehandlers.ResponseHandlerBase
Basic constructor only setting the method.
ResponseHandlerFactory - Class in net.sf.j2ep.factories
A factory creating ResponseHandlers.
ResponseHandlerFactory() - Constructor for class net.sf.j2ep.factories.ResponseHandlerFactory
 
revert(String) - Method in interface net.sf.j2ep.model.Rule
Returns the reverted URI, this means that if a URI is processed and then reverted it should be the same URI.
revert(String) - Method in class net.sf.j2ep.rules.BaseRule
 
revert(String) - Method in class net.sf.j2ep.rules.CompositeRule
Will do the opposite of process, that is revert all URIs to there default value.
revert(String) - Method in class net.sf.j2ep.rules.DirectoryRule
Does the opposite of process. revert(String URI) will add the directory specified to the start of the incoming URI.
revert(String) - Method in class net.sf.j2ep.rules.RewriteRule
 
rewrite(Server) - Method in class net.sf.j2ep.UrlRewritingOutputStream
Processes the stream looking for links, all links found are rewritten.
RewriteFilter - Class in net.sf.j2ep
A filter that will locate the appropriate Rule and use it to rewrite any incoming request to get the server targeted.
RewriteFilter() - Constructor for class net.sf.j2ep.RewriteFilter
 
RewriteRule - Class in net.sf.j2ep.rules
A rule using regular expressions to rewrite the URI.
RewriteRule() - Constructor for class net.sf.j2ep.rules.RewriteRule
Basic constructor.
RoundRobinCluster - Class in net.sf.j2ep.servers
A cluster using round-robin to get the next server in the cluster.
RoundRobinCluster() - Constructor for class net.sf.j2ep.servers.RoundRobinCluster
Creates a new round-robin cluster
Rule - Interface in net.sf.j2ep.model
The Rule interface is implemented by the rules for the reverse proxy.
run() - Method in class net.sf.j2ep.servers.ServerStatusChecker
Runs the tests

S

sendStreamToClient(ServletResponse) - Method in class net.sf.j2ep.responsehandlers.ResponseHandlerBase
Writes the entire stream from the method to the response stream.
Server - Interface in net.sf.j2ep.model
A representation of the server.
ServerChain - Class in net.sf.j2ep
A ServerChain is a list of server considered in order.
ServerChain(List) - Constructor for class net.sf.j2ep.ServerChain
Constructor.
ServerContainer - Interface in net.sf.j2ep.model
A server container is a object can can hold a server.
ServerContainerBase - Class in net.sf.j2ep.servers
A base container that will only handle the setting and getting of rules.
ServerContainerBase() - Constructor for class net.sf.j2ep.servers.ServerContainerBase
 
serverOffline(Server) - Method in class net.sf.j2ep.servers.ClusterContainer
Sets the server to offline status.
serverOffline(Server) - Method in interface net.sf.j2ep.servers.ServerStatusListener
Notifies that a servers has gone down
serverOnline(Server) - Method in class net.sf.j2ep.servers.ClusterContainer
Sets the server to online status.
serverOnline(Server) - Method in interface net.sf.j2ep.servers.ServerStatusListener
Notifies that a server is online.
servers - Variable in class net.sf.j2ep.servers.ClusterContainer
The servers in our cluster,
ServerStatusChecker - Class in net.sf.j2ep.servers
A class that will check if servers are online and notify a listener when servers goes down and comes back online again.
ServerStatusChecker(ServerStatusListener, long) - Constructor for class net.sf.j2ep.servers.ServerStatusChecker
Basic constructor sets the listener to notify when servers goes down/up.
ServerStatusListener - Interface in net.sf.j2ep.servers
A listener for status messages for the servers.
setAllowedMethods(String) - Static method in class net.sf.j2ep.model.AllowedMethodHandler
Will set the allowed methods, both by setting the string and also by adding all the methods to the set of allowed.
setConnectionExceptionRecieved(Exception) - Method in interface net.sf.j2ep.model.Server
Used to notify the server that there is a problem using the data this server supplied to the user.
setConnectionExceptionRecieved(Exception) - Method in class net.sf.j2ep.servers.BaseServer
 
setConnectionExceptionRecieved(Exception) - Method in class net.sf.j2ep.servers.ClusterContainer.ClusteredServer
Notifies the server status checker that a server might have gone offline.
setDirectory(String) - Method in class net.sf.j2ep.rules.DirectoryRule
Sets the directory structure that will be mapped to a specified server.
setDomainName(String) - Method in class net.sf.j2ep.servers.BaseServer
Sets the host and port we are mapping to.
setEndRange(String) - Method in class net.sf.j2ep.rules.IPRule
Sets the ending range that a connection has to be made from to be triggered by this rule.
setEndTime(String) - Method in class net.sf.j2ep.rules.TimeRule
Sets the end hour that request will be allowed.
setFrom(String) - Method in class net.sf.j2ep.rules.RewriteRule
Sets the regex we will match incoming URIs on.
setHeader(String, String) - Method in class net.sf.j2ep.servers.ClusterResponseWrapper
Checks for the set-cookie header.
setHeader(String, String) - Method in class net.sf.j2ep.UrlRewritingResponseWrapper
Checks if we have to rewrite the header and if so will rewrite it.
setHeaders(HttpMethod, HttpServletRequest) - Method in class net.sf.j2ep.requesthandlers.RequestHandlerBase
Will write all request headers stored in the request to the method that are not in the set of banned headers.
setHeaders(HttpServletResponse) - Method in class net.sf.j2ep.responsehandlers.ResponseHandlerBase
Will write all response headers received in the method to the response.
setIsRewriting(String) - Method in class net.sf.j2ep.servers.BaseServer
Set if this server wants absolute links mapped for this server to be rewritten.
setOnline(boolean) - Method in class net.sf.j2ep.servers.ClusterContainer.ClusteredServer
Marks if this server should be considered online or offline.
setPath(String) - Method in class net.sf.j2ep.servers.BaseServer
Sets the path we are mapping to.
setRevertFrom(String) - Method in class net.sf.j2ep.rules.RewriteRule
Sets the regex we use to match outgoing links found.
setRevertTo(String) - Method in class net.sf.j2ep.rules.RewriteRule
Sets the string we rewrite outgoing links to.
setRule(Rule) - Method in interface net.sf.j2ep.model.ServerContainer
Sets the rule that is mapped for this server.
setRule(Rule) - Method in class net.sf.j2ep.servers.ServerContainerBase
 
setStartRange(String) - Method in class net.sf.j2ep.rules.IPRule
Sets the beginning range that a connection has to be made from to be triggered by this rule.
setStartTime(String) - Method in class net.sf.j2ep.rules.TimeRule
Sets the start hour that requests will be allowed.
setTo(String) - Method in class net.sf.j2ep.rules.RewriteRule
Sets the string we will rewrite incoming URIs to.

T

TimeRule - Class in net.sf.j2ep.rules
A simple rule that checks the hour.
TimeRule() - Constructor for class net.sf.j2ep.rules.TimeRule
 
toString() - Method in class net.sf.j2ep.rules.BaseRule
Returns a String representation of this object.
toString() - Method in class net.sf.j2ep.rules.CompositeRule
Returns a String representation of this object.
toString() - Method in class net.sf.j2ep.ServerChain
Returns a String representation of this object.
TraceResponseHandler - Class in net.sf.j2ep.responsehandlers
A handler for the TRACE method.
TraceResponseHandler(TraceMethod) - Constructor for class net.sf.j2ep.responsehandlers.TraceResponseHandler
Basic constructor setting the method, and also checks if the request is targeted to the proxy or the underlying server.

U

UrlRewritingOutputStream - Class in net.sf.j2ep
A wrapper for the default output stream.
UrlRewritingOutputStream(ServletOutputStream, String, String, ServerChain) - Constructor for class net.sf.j2ep.UrlRewritingOutputStream
Basic constructor.
UrlRewritingResponseWrapper - Class in net.sf.j2ep
A wrapper for the normal HttpServletResponse, based on the content-type either the normal output stream of a wrapped stream will be returned.
UrlRewritingResponseWrapper(HttpServletResponse, Server, String, String, ServerChain) - Constructor for class net.sf.j2ep.UrlRewritingResponseWrapper
Basic constructor.

W

write(int) - Method in class net.sf.j2ep.UrlRewritingOutputStream
 
write(byte[], int, int) - Method in class net.sf.j2ep.UrlRewritingOutputStream
 
write(byte[]) - Method in class net.sf.j2ep.UrlRewritingOutputStream
 

A B C D E G H I M N O P R S T U W