|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echoservlet.filetransferui.UploadForm
public class UploadForm
Renders an HTML page containing a form with a single file upload elemnet.
Constructor Summary | |
---|---|
UploadForm(UploadSelectUI ui)
Creates a form for the specified UploadSelect peer. |
Method Summary | |
---|---|
void |
clientAction(java.lang.String command)
Called when the user causes an action from the client. |
Id |
getId()
Returns a unique identifier for this service. |
void |
service(Connection conn)
Services an HTTP request. |
void |
submitController()
Notifies the upload form that it should cause the controller's form to be submitted when it is next rendered. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UploadForm(UploadSelectUI ui)
ui
- The UploadSelect peer that this form will serve.Method Detail |
---|
public void clientAction(java.lang.String command)
ClientActionProducer
clientAction
in interface ClientActionProducer
command
- The action command generated by the client.ClientActionProducer.clientAction(String)
public Id getId()
Service
getId
in interface Service
Service.getId()
public void service(Connection conn) throws java.io.IOException
Service
service
in interface Service
conn
- A Connection
object which wraps
HttpServletRequest
and
HttpServletResponse
objects and provides
access to the facilities of the Echo application container.
java.io.IOException
- in the event of errors related to processing the
HTTP request or producing a response.Service.service(Connection)
public void submitController()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |