PATH |
WORequestHandler
Inherits from: Object
Package: com.webobjects.appserver
Class Description
WORequestHandler is an abstract class that defines request handlers. A request handler is an object that can handle requests received by the WebObjects adaptor. All WebObjects applications have multiple request handlers that can handle certain types of requests. Three private request handlers are defined in the WebObjects framework:
- WOComponentRequestHandler, which handles requests for actions implemented in a component.
- WODirectActionRequestHandler, which handles requests for actions implemented in a WODirectAction class.
- WOResourceRequestHandler, which handles requests for resources.
These three request handlers handle most styles of requests that an application can typically receive. If you want to create your own style of request, then you should write your own WORequestHandler. Unless you write your own request handler, your code typically won't have to directly interact with WORequestHandler objects at all.
Constants
WORequestHandler declares this constant:
Class Variable | Description |
DidHandleRequestNotification | This constant contains a String that names the notification that is posted by each request handler after a request has been handled. Note that DidHandleRequestNotification isn't acutally declared as a constant since WORequestHandler is abstract, and you can't override constants in subclasses. |
Constructors
WORequestHandler
protected WORequestHandler()
Instance Methods
handleRequest
public abstract WOResponse handleRequest(WORequest aRequest)
toString
public String toString()
© 2001 Apple Computer, Inc. (Last Published April 15, 2001)