public class Response extends PersistableDefault
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
_content_type |
(package private) java.lang.Object |
_entity_body |
(package private) long |
_entity_length |
(package private) java.util.Map<java.lang.String,java.lang.String> |
_headers |
(package private) java.lang.String |
_http_version |
(package private) java.lang.String |
_message_body |
(package private) java.lang.String |
_reason_phrase |
(package private) Request |
_request |
(package private) int |
_status_code |
(package private) java.lang.String |
_status_line |
(package private) java.lang.String |
ID |
DEFAULT_MATCH_ALL_FIELD_MODIFIERS, DEFAULT_VALUE, enabled, FAILED_RETRIEVE_VALUE, fieldNameToPersistKeyMap, ignoredFiledModifiers, matchAllFieldModifiers, MODIFIER_CONSTANT, MODIFIER_NONE, parent, persistKeyToFieldValueMap, tabulation, threshold, thresholdEnabled, UNKNOWN_VALUE
CONTAINER_ELEMENT
DATA_BIGGER_THAN_THRESHOLD
Constructor and Description |
---|
Response() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get_content_type() |
java.lang.Object |
get_entity_body() |
long |
get_entity_length() |
java.lang.String |
get_headers() |
java.lang.String |
get_http_version() |
java.lang.String |
get_message_body() |
java.lang.String |
get_reason_phrase() |
Request |
get_request() |
int |
get_status_code() |
java.lang.String |
get_status_line() |
java.util.Map<java.lang.String,java.lang.String> |
getHeaders() |
java.lang.String |
getID() |
java.util.Map<java.lang.String,java.lang.String> |
getPersitableFields()
This default implementation get all the declared fields
Class.getDeclaredFields() and
put their name as 'fieldName' and 'persistKey' into the 'persistableFields Map'. |
void |
set_content_type(java.lang.String _content_type) |
void |
set_entity_body(java.lang.Object _entity_body) |
void |
set_entity_length(long _entity_length) |
(package private) void |
set_headers(java.util.Map<java.lang.String,java.lang.String> _header) |
void |
set_headers(java.lang.String _headers)
Setting from stored external values.
|
void |
set_http_version(java.lang.String _http_version) |
void |
set_message_body(java.lang.String _message_body) |
void |
set_reason_phrase(java.lang.String _reason_phrase) |
void |
set_request(Request _request) |
void |
set_status_code(int _status_code) |
void |
set_status_line(java.lang.String _status_line) |
void |
setID(java.lang.String iD) |
equals, getContents, getContents, getField, getFlatKey, getParent, getTabulation, getTagName, getThreshold, ignoreFieldForPersist, isEnabled, isIgnoredContentCache, isThresholdEnabled, setEnabled, setField, setIgnoredContentCache, setParent, setTabulation, setThreshold, setThresholdEnabled, toString
Request _request
java.lang.String ID
java.lang.String _content_type
java.lang.Object _entity_body
long _entity_length
java.util.Map<java.lang.String,java.lang.String> _headers
java.lang.String _http_version
java.lang.String _message_body
java.lang.String _reason_phrase
int _status_code
java.lang.String _status_line
public java.lang.String getID()
public void setID(java.lang.String iD)
public java.lang.String get_content_type()
public void set_content_type(java.lang.String _content_type)
public java.lang.String get_status_line()
public void set_status_line(java.lang.String _status_line)
_status_line
- the _status_line to setpublic java.lang.String get_http_version()
public void set_http_version(java.lang.String _http_version)
_http_version
- the _http_version to setpublic int get_status_code()
public void set_status_code(int _status_code)
_status_code
- the _status_code to setpublic java.lang.String get_reason_phrase()
public void set_reason_phrase(java.lang.String _reason_phrase)
_reason_phrase
- the _reason_phrase to setpublic java.lang.String get_headers()
public java.util.Map<java.lang.String,java.lang.String> getHeaders()
void set_headers(java.util.Map<java.lang.String,java.lang.String> _header)
_response_header
- the _response_header to setpublic void set_headers(java.lang.String _headers)
_headers
- the multiline String headers to setpublic java.lang.String get_message_body()
public void set_message_body(java.lang.String _message_body)
_message_body
- the _message_body to setpublic long get_entity_length()
public void set_entity_length(long _entity_length)
_entity_length
- the _entity_length to setpublic java.lang.Object get_entity_body()
public void set_entity_body(java.lang.Object _entity_body)
_entity_body
- the _entity_body to setpublic Request get_request()
public void set_request(Request _request)
_request
- the _request to setpublic java.util.Map<java.lang.String,java.lang.String> getPersitableFields()
PersistableDefault
Class.getDeclaredFields()
and
put their name as 'fieldName' and 'persistKey' into the 'persistableFields Map'. But if
PersistableDefault.ignoreFieldForPersist(Field)
returns true, then that field will not get into 'persistableFields Map'.getPersitableFields
in interface Persistable
getPersitableFields
in class PersistableDefault
PersistableDefault.ignoreFieldForPersist(Field)
Copyright © SAS Institute. All Rights Reserved.