se.kmr.scam.client.http
Class CommandResponse

java.lang.Object
  extended byse.kmr.scam.client.http.CommandResponse
Direct Known Subclasses:
Download, Download, Forward, Redirect

public abstract class CommandResponse
extends Object

This class defines the interface for response objects from se.kmr.scam.client.http.Command objects.

Version:
$Revision: 1.3 $
Author:
Jöran
Created:
den 6 november 2002

Field Summary
static int BREAK
           
static int CONTINUE
           
 
Constructor Summary
CommandResponse()
           
 
Method Summary
abstract  void execute()
          Executes the response action.
 int getStatus()
          Gets the status attribute of the CommandResponse object
 void setStatus(int status)
          Sets the status attribute of the CommandResponse object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTINUE

public static final int CONTINUE
See Also:
Constant Field Values

BREAK

public static final int BREAK
See Also:
Constant Field Values
Constructor Detail

CommandResponse

public CommandResponse()
Method Detail

execute

public abstract void execute()
                      throws HttpException
Executes the response action.

Throws:
HttpException - Description of the Exception

setStatus

public void setStatus(int status)
Sets the status attribute of the CommandResponse object

Parameters:
status - The new status value

getStatus

public int getStatus()
Gets the status attribute of the CommandResponse object

Returns:
The status value


Copyright © 2003 SCAM. All Rights Reserved.