|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.fckeditor.connector.Dispatcher
public class Dispatcher
File Browser request dispatcher. This class is the validating and managing
instance between the connector servlet
and the
connector
. It receives the requests, parses the parameters,
validates/sanitizes them and mandates them to the connector. After the
connector has processed the request, this dispatcher passes the response back
to the connector servlet. More over, it intercepts all
specified exceptions
from a
connector and emits appropriate (localized) messages to the user. The
exceptions won't be logged, they simply indicate the connector state.
Constructor Summary | |
---|---|
Dispatcher(ServletContext servletContext)
Initializes this dispatcher. |
Method Summary | |
---|---|
(package private) GetResponse |
doGet(HttpServletRequest request)
Called by the connector servlet to handle a GET request. |
(package private) UploadResponse |
doPost(HttpServletRequest request)
Called by the connector servlet to handle a POST request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
Dispatcher(ServletContext servletContext) throws Exception
initialization
.
servletContext
- reference to the ServletContext
in which the caller is
running
Exception
- if the dispatcher initialization fails due to some reasonMethod Detail |
---|
GetResponse doGet(HttpServletRequest request)
GET
request. In
particular, it handles the GetFolders
,
GetFoldersAndFiles
and
CreateFolder
commands.
request
- the current request instance
UploadResponse doPost(HttpServletRequest request)
POST
request. In
particular, it handles the FileUpload
and
QuickUpload
commands.
request
- the current request instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |