Package edu.uiuc.ncsa.sas.thing.response
Class Response
- java.lang.Object
-
- edu.uiuc.ncsa.sas.thing.response.Response
-
- All Implemented Interfaces:
SASConstants
- Direct Known Subclasses:
LogoffResponse
,LogonResponse
,NewKeyResponse
,OutputResponse
,PromptResponse
public class Response extends Object implements SASConstants
Created by Jeff Gaynor
on 8/16/22 at 6:29 AM
-
-
Field Summary
-
Fields inherited from interface edu.uiuc.ncsa.sas.SASConstants
ACTION_EXECUTE, ACTION_INVOKE, ACTION_LOGOFF, ACTION_LOGON, ACTION_NEW_KEY, CLIENT_ID_HEAD, HEADER_SESSION_ID, KEYS_ACTION, KEYS_ARGUMENT, KEYS_COMMENT, KEYS_EXECUTABLE_NAME, KEYS_INTERNAL_ID, KEYS_METHOD, KEYS_PROMPT, KEYS_SAS, KEYS_STATE, KEYS_SUBJECT, KEYS_SUBJECT_ID, KEYS_SUBJECT_SESSION_ID, KEYS_TYPE, REQUEST_TYPE, RESPONSE_CONTENT, RESPONSE_MESSAGE, RESPONSE_PROMPT, RESPONSE_SESSION_ID, RESPONSE_STATUS, RESPONSE_STATUS_ERROR, RESPONSE_STATUS_OK, RESPONSE_SYMMETRIC_KEY, RESPONSE_TYPE, RESPONSE_TYPE_ERROR, RESPONSE_TYPE_LOGOFF, RESPONSE_TYPE_LOGON, RESPONSE_TYPE_NEW_KEY, RESPONSE_TYPE_OUTPUT, RESPONSE_TYPE_PROMPT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deserialize(net.sf.json.JSONObject json)
String
getActionType()
String
getComment()
String
getId()
String
getResponseType()
String
getState()
void
init(Action action)
net.sf.json.JSONObject
serialize()
void
setActionType(String actionType)
void
setComment(String comment)
void
setId(String id)
void
setResponseType(String responseType)
void
setState(String state)
-
-
-
Method Detail
-
getResponseType
public String getResponseType()
-
setResponseType
public void setResponseType(String responseType)
-
getActionType
public String getActionType()
-
setActionType
public void setActionType(String actionType)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getState
public String getState()
-
setState
public void setState(String state)
-
getComment
public String getComment()
-
setComment
public void setComment(String comment)
-
init
public void init(Action action)
-
deserialize
public void deserialize(net.sf.json.JSONObject json)
-
serialize
public net.sf.json.JSONObject serialize()
-
-