jason.core
Class ServiceResponse

java.lang.Object
  |
  +--jason.core.ServiceResponse

public class ServiceResponse
extends java.lang.Object

Created Sat May 4 21:39:15 2002

ServiceResponse

See Also:
Service, ServiceRequest

Field Summary
static ServiceResponse EMPTY_RESPONSE
          Specify this value when your service has done a valid request management but needn't to return a response
static ServiceResponse UNMANAGED_RESPONSE
          Return this valid when your service don't know how to process a request
 
Constructor Summary
ServiceResponse(java.lang.Object response)
           
ServiceResponse(java.lang.Object response, java.lang.String type)
           
 
Method Summary
 java.lang.Object getResponse()
           
 java.lang.String getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_RESPONSE

public static ServiceResponse EMPTY_RESPONSE
Specify this value when your service has done a valid request management but needn't to return a response


UNMANAGED_RESPONSE

public static ServiceResponse UNMANAGED_RESPONSE
Return this valid when your service don't know how to process a request

Constructor Detail

ServiceResponse

public ServiceResponse(java.lang.Object response)
Parameters:
response - a response object

ServiceResponse

public ServiceResponse(java.lang.Object response,
                       java.lang.String type)
Parameters:
response - a response object
type - a type object
Method Detail

getResponse

public java.lang.Object getResponse()

getType

public java.lang.String getType()