nextapp.echoservlet.filetransferui
Class UploadReceiver

java.lang.Object
  extended by nextapp.echoservlet.filetransferui.UploadReceiver
All Implemented Interfaces:
java.io.Serializable, Service

public class UploadReceiver
extends java.lang.Object
implements java.io.Serializable, Service

Processes a file upload HTTP request from the client.

See Also:
Serialized Form

Constructor Summary
UploadReceiver(UploadSelectUI ui)
          Creates a new UploadReceiver for the given Upload Select peer.
 
Method Summary
 Id getId()
          Returns a unique identifier for this service.
 void service(Connection conn)
          Services an HTTP request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UploadReceiver

public UploadReceiver(UploadSelectUI ui)
Creates a new UploadReceiver for the given Upload Select peer.

Method Detail

getId

public Id getId()
Description copied from interface: Service
Returns a unique identifier for this service.

Specified by:
getId in interface Service
Returns:
A unique identifier for this service.
See Also:
Service.getId()

service

public void service(Connection conn)
             throws java.io.IOException
Description copied from interface: Service
Services an HTTP request. Information about the HTTP request as well as methods for issuing a response are available from the provided Connection object.

Specified by:
service in interface Service
Parameters:
conn - A Connection object which wraps HttpServletRequest and HttpServletResponse objects and provides access to the facilities of the Echo application container.
Throws:
java.io.IOException - in the event of errors related to processing the HTTP request or producing a response.
See Also:
Service.service(Connection)