javax.activation
Interface CommandObject
public interface CommandObject
Bean interface to implement in order to receive notification of the
command verb.
void | setCommandContext(String verb, DataHandler dh) - Initializes the command with the verb it is expected to perform and
the data handler describing the data to operate on.
|
setCommandContext
public void setCommandContext(String verb,
DataHandler dh)
throws IOException
Initializes the command with the verb it is expected to perform and
the data handler describing the data to operate on.
verb
- the command verbdh
- the data handler describing the data to process