Package edu.uiuc.ncsa.sas.webclient
Class ResponseDeserializer
- java.lang.Object
-
- edu.uiuc.ncsa.sas.webclient.ResponseDeserializer
-
- All Implemented Interfaces:
SASConstants
public class ResponseDeserializer extends Object implements SASConstants
Created by Jeff Gaynor
on 8/25/22 at 7:28 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
-
-
Constructor Summary
Constructors Constructor Description ResponseDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Response>
deserialize(String input)
Main entry point for class.Response
deserialize(net.sf.json.JSONObject jsonObject)
Deserialize a single response
-
-
-
Method Detail
-
deserialize
public List<Response> deserialize(String input)
Main entry point for class. This delegates to all the other methods- Parameters:
input
-- Returns:
-
deserialize
public Response deserialize(net.sf.json.JSONObject jsonObject)
Deserialize a single response- Parameters:
jsonObject
-- Returns:
-
-