diff options
| author | Benjamin Culkin <scorpress@gmail.com> | 2024-05-20 17:58:16 -0400 |
|---|---|---|
| committer | Benjamin Culkin <scorpress@gmail.com> | 2024-05-20 17:58:16 -0400 |
| commit | 40a9d99496e098562f090fb7ffce9e749011b131 (patch) | |
| tree | 437df24d65470582e943e494a52db8ed65a881ae /projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WORequestHandler.java | |
| parent | ff072dfe782f6f22123cd4ba050828d35c0d0fbd (diff) | |
Formatting pass
Diffstat (limited to 'projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WORequestHandler.java')
| -rw-r--r-- | projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WORequestHandler.java | 59 |
1 files changed, 26 insertions, 33 deletions
diff --git a/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WORequestHandler.java b/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WORequestHandler.java index 957cf25..7e3c624 100644 --- a/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WORequestHandler.java +++ b/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WORequestHandler.java @@ -21,44 +21,37 @@ package net.wotonomy.web; import net.wotonomy.foundation.internal.NetworkClassLoader; /** -* A pure java implementation that corresponds -* to the abstract class WORequestHandler. -* -* @author michael@mpowers.net -* @author $Author: cgruber $ -* @version $Revision: 905 $ -*/ -public abstract class WORequestHandler -{ + * A pure java implementation that corresponds to the abstract class + * WORequestHandler. + * + * @author michael@mpowers.net + * @author $Author: cgruber $ + * @version $Revision: 905 $ + */ +public abstract class WORequestHandler { private NetworkClassLoader loader; - + /** - * Default constructor. - */ - public WORequestHandler() - { - loader = new NetworkClassLoader( WOApplication.application().getClass().getClassLoader() ); + * Default constructor. + */ + public WORequestHandler() { + loader = new NetworkClassLoader(WOApplication.application().getClass().getClassLoader()); } - + /** - * Dispatches the request and returns the response. - */ - abstract public WOResponse handleRequest (WORequest aRequest); - + * Dispatches the request and returns the response. + */ + abstract public WOResponse handleRequest(WORequest aRequest); + /** - * Gets the specified class, loading it if it has not already been - * loaded or if it has been modified. Returns null if not found. - * Because this method is not in the specification, it has only - * package access. - */ - Class loadClass( String aName ) - { - try - { - return loader.loadClass( aName, true ); - } - catch ( ClassNotFoundException cnfe ) - { + * Gets the specified class, loading it if it has not already been loaded or if + * it has been modified. Returns null if not found. Because this method is not + * in the specification, it has only package access. + */ + Class loadClass(String aName) { + try { + return loader.loadClass(aName, true); + } catch (ClassNotFoundException cnfe) { return null; } } |
