webwork.dispatcher
Class ClientServletDispatcher
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
webwork.dispatcher.ClientServletDispatcher
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class ClientServletDispatcher
- extends javax.servlet.http.HttpServlet
Dispatcher servlet that can be invoked by remote clients, such as applets.
- Version:
- $Revision: 1.14 $
- Author:
- Rickard Öberg (rickard@dreambean.com)
- See Also:
- Serialized Form
Field Summary |
protected static org.apache.commons.logging.Log |
log
|
Method Summary |
protected java.io.ObjectInputStream |
createObjectInputStream(java.io.InputStream in)
Create an object input stream that wraps the URL connection stream. |
protected java.io.ObjectOutputStream |
createObjectOutputStream(java.io.OutputStream out)
Create an object input stream that wraps the URL connection stream. |
void |
init(javax.servlet.ServletConfig config)
Initialize dispatcher servlet |
void |
service(javax.servlet.http.HttpServletRequest aRequest,
javax.servlet.http.HttpServletResponse aResponse)
Service a request |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.commons.logging.Log log
ClientServletDispatcher
public ClientServletDispatcher()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Initialize dispatcher servlet
- Throws:
javax.servlet.ServletException
service
public void service(javax.servlet.http.HttpServletRequest aRequest,
javax.servlet.http.HttpServletResponse aResponse)
throws javax.servlet.ServletException
- Service a request
- Throws:
javax.servlet.ServletException
createObjectInputStream
protected java.io.ObjectInputStream createObjectInputStream(java.io.InputStream in)
throws java.io.IOException
- Create an object input stream that wraps the URL connection stream.
This method can be overriden in order to create custom streams.
- Parameters:
in
- the underlying stream. It is buffered
- Returns:
- an object input stream
- Throws:
java.io.IOException
createObjectOutputStream
protected java.io.ObjectOutputStream createObjectOutputStream(java.io.OutputStream out)
throws java.io.IOException
- Create an object input stream that wraps the URL connection stream.
This method can be overriden in order to create custom streams.
- Parameters:
out
- The OutputStream to wrap
- Returns:
- an ObjectOutputStream wrapping the specified OutputStream
- Throws:
java.io.IOException
Copyright © 2001-2003 WebWork All Rights Reserved.