public interface Data
This interface is implemented by z/OS Connect EE.
Modifier and Type | Interface and Description |
---|---|
static class |
Data.RequestType
Enumeration for the type of the REST request.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
API_DESCRIPTION
Constant for the key used in
getData(String) for the description of the API associated with this
request. |
static java.lang.String |
API_NAME
Constant for the key used in
getData(String) for the name of the API associated with this request. |
static java.lang.String |
API_OPERATION
Constant for the key used in
getData(String) for the operation in the API associated with this request. |
static java.lang.String |
API_REQUESTER_DESCRIPTION
Constant for the key used in
getData(String) for the description of any API requester associated with
this administration request. |
static java.lang.String |
API_REQUESTER_NAME
Constant for the key used in
getData(String) for the name of any API requester associated with this
administration request. |
static java.lang.String |
API_REQUESTER_VERSION
Constant for the key used in
getData(String) for the version of any API requester associated with this
administration request. |
static java.lang.String |
API_VERSION
Constant for the key used in
getData(String) for the version of the API associated with this request. |
static java.lang.String |
AUTHORIZATION_ADMIN_GROUP_NAMES
Constant for the key used in
getData(String) for the configured administrator groups names to be used
for authorization validation. |
static java.lang.String |
AUTHORIZATION_INVOKE_GROUP_NAMES
Constant for the key used in
getData(String) for the configured invoke group names to be used for
authorization validation. |
static java.lang.String |
AUTHORIZATION_OPERATIONS_GROUP_NAMES
Constant for the key used in
getData(String) for the configured operations group names to be used for
authorization validation. |
static java.lang.String |
AUTHORIZATION_READER_GROUP_NAMES
Constant for the key used in
getData(String) for the configured reader group names to be used for
authorization validation. |
static java.lang.String |
copyright_notice |
static java.lang.String |
CORRELATOR
Constant for the key used in
getData(String) for a byte array containing a system wide unique correlator
that is passed to the system of record by some service providers and can be used to track this request. |
static java.lang.String |
HTTP_RESPONSE_CODE
Constant for the key used in
getData(String) for the HTTP status code for the response. |
static java.lang.String |
REQUEST_ID
Constant for the key used in
getData(String) for the unique identifier associated with this request. |
static java.lang.String |
REQUEST_TIMED_OUT
Constant for the key used in
getData(String) for a flag indicating whether this request has been timed
out. |
static java.lang.String |
SERVICE_DESCRIPTION
Constant for the key used in
getData(String) for the description of the service associated with this
request. |
static java.lang.String |
SERVICE_NAME
Constant for the key used in
getData(String) for the name of the service associated with this request. |
static java.lang.String |
SERVICE_PROVIDER_NAME
Constant for the key used in
getData(String) for the name of the service provider which is processing
this request. |
static java.lang.String |
SERVICE_VERSION
Constant for the key used in
getData(String) for the version of the service associated with this
request. |
static java.lang.String |
SOR_IDENTIFIER
Constant for the key used in
getData(String) for a string identifying the system of record. |
static java.lang.String |
SOR_REFERENCE
Constant for the key used in
getData(String) for the configured connection reference that identifies the
connection to the system of record. |
static java.lang.String |
SOR_RESOURCE
Constant for the key used in
getData(String) for a string containing information identifying the
resource invoked on the system of record. |
static java.lang.String |
TIME_SOR_RECEIVED
Constant for the key used in
getData(String) for the timestamp of when this response was received from
the system of record by the z/OS Connect EE server. |
static java.lang.String |
TIME_SOR_SENT
Constant for the key used in
getData(String) for the timestamp of when this request was sent to the
system of record by the z/OS Connect EE server. |
static java.lang.String |
TIME_ZOS_CONNECT_ENTRY
Constant for the key used in
getData(String) for the timestamp of when this request was received by the
z/OS Connect EE server from the HTTP client. |
static java.lang.String |
TIME_ZOS_CONNECT_EXIT
Constant for the key used in
getData(String) for the timestamp of when this response was sent to the
HTTP client by the z/OS Connect EE server. |
static java.lang.String |
TRACKING_TOKEN
Constant for the key used in
getData(String) for a byte array containing the tracking token that is
passed to the system of record by some service providers and can be used to track this request, @see Tracking
requests for information on the format of the tracking token. |
static java.lang.String |
USER_NAME
Available from V3.0.58.0.
|
static java.lang.String |
USER_NAME_MAPPED
Constant for the key used in
getData(String) for the SAF mapped user ID associated with this request, if
there is one. |
Modifier and Type | Method and Description |
---|---|
void |
addStakeholderToken(char stakeholderIdentifier)
This method is applicable only when implementing the TrackingInterceptor interface.
|
java.lang.String |
getAuthorizationAdminGroupName()
Deprecated.
Replaced by
getData(String) with key value "AuthorizationAdminGroupNames". |
java.lang.String[] |
getAuthorizationAdminGroupNames()
Deprecated.
Replaced by
getData(String) with key value "AuthorizationAdminGroupNames". |
java.lang.String |
getAuthorizationInvokeGroupName()
Deprecated.
Replaced by
getData(String) with key value "AuthorizationInvokeGroupNames". |
java.lang.String |
getAuthorizationOperationsGroupName()
Deprecated.
Replaced by
getData(String) with key value "AuthorizationOperationsGroupNames". |
java.lang.String |
getAuthorizationReaderGroupName()
Deprecated.
Replaced by
getData(String) with key value "AuthorizationReaderGroupNames". |
java.lang.Object |
getData(java.lang.String key)
Returns the specified data.
|
java.lang.String |
getInputPayload()
Returns a String representation of the input payload.
|
boolean |
getInterceptorPreInvokeFailed()
Returns a boolean value indicating that an exception was thrown by an interceptor.
|
java.lang.String |
getMappedResponseHeader(java.lang.String key)
Returns the value of the specified mapped response header as a String.
|
java.util.Enumeration<java.lang.String> |
getMappedResponseHeaderNames()
Returns an Enumeration of the names of all the response headers for this request that resulted from the API
mapping.
|
java.lang.String |
getOutputPayload()
Returns a String representation of the output payload.
|
byte[] |
getRequestID()
Deprecated.
Replaced by
getData(String) with key value "RequestId". |
Data.RequestType |
getRequestType()
Returns the request type.
|
java.lang.String |
getServiceDescription()
Deprecated.
Replaced by
getData(String) with key value "ServiceDescription". |
java.lang.String |
getServiceGroupingName()
Deprecated.
This has been deprecated as APIs are now used to logically group services and this function is not
available for services defined by a service archive file.
|
java.lang.String |
getServiceName()
Deprecated.
Replaced by
getData(String) with key value "ServiceName" for service requests or
with key value "ApiName" for API requests. |
boolean |
isDataTranformationAvailable()
Deprecated.
This data is not relevant for implementations of
Interceptor . |
static final java.lang.String copyright_notice
static final java.lang.String REQUEST_ID
getData(String)
for the unique identifier associated with this request. The
value returned by getData(String)
is a Long
and is unique within the current server instance.
From V3.0.16.0, this data is available in:
Interceptor.preInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Service.invoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.RequestData, com.ibm.zosconnect.spi.ResponseData)
From V3.0.28.0, this data is available in:
ServiceProviderInterceptor.preSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String API_NAME
getData(String)
for the name of the API associated with this request. The
value returned by getData(String)
is a String
, it may be null when the request type is
Data.RequestType.ADMIN
and is always null when the request type is Data.RequestType.SERVICE
. From V3.0.16.0, this data is available in:
Interceptor.preInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Service.invoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.RequestData, com.ibm.zosconnect.spi.ResponseData)
From V3.0.28.0, this data is available in:
ServiceProviderInterceptor.preSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String API_DESCRIPTION
getData(String)
for the description of the API associated with this
request. The value returned by getData(String)
is a String
, it may be null when the request type
is Data.RequestType.ADMIN
and is always null when the request type is Data.RequestType.SERVICE
. From V3.0.16.0, this data is available in:
Interceptor.preInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Service.invoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.RequestData, com.ibm.zosconnect.spi.ResponseData)
From V3.0.28.0, this data is available in:
ServiceProviderInterceptor.preSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String API_VERSION
getData(String)
for the version of the API associated with this request.
The value returned by getData(String)
is a String
, it may be null when the request type is
Data.RequestType.ADMIN
and is always null when the request type is Data.RequestType.SERVICE
. From V3.0.16.0, this data is available in:
Interceptor.preInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Service.invoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.RequestData, com.ibm.zosconnect.spi.ResponseData)
From V3.0.28.0, this data is available in:
ServiceProviderInterceptor.preSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String API_OPERATION
getData(String)
for the operation in the API associated with this request.
The value returned by getData(String)
is a String
, it may be null when the request type is
Data.RequestType.ADMIN
and is always null when the request type is Data.RequestType.SERVICE
. From V3.0.16.0, this data is available in:
Interceptor.preInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Service.invoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.RequestData, com.ibm.zosconnect.spi.ResponseData)
From V3.0.28.0, this data is available in:
ServiceProviderInterceptor.preSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String SERVICE_NAME
getData(String)
for the name of the service associated with this request.
The value returned by getData(String)
is a String
, it may be null when the request type is
Data.RequestType.ADMIN
. From V3.0.16.0, this data is available in:
Interceptor.preInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Service.invoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.RequestData, com.ibm.zosconnect.spi.ResponseData)
From V3.0.28.0, this data is available in:
ServiceProviderInterceptor.preSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String SERVICE_DESCRIPTION
getData(String)
for the description of the service associated with this
request. The value returned by getData(String)
is a String
, it may be null when the request type
is Data.RequestType.ADMIN
. From V3.0.16.0, this data is available in:
Interceptor.preInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Service.invoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.RequestData, com.ibm.zosconnect.spi.ResponseData)
From V3.0.28.0, this is data available in:
ServiceProviderInterceptor.preSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String SERVICE_VERSION
getData(String)
for the version of the service associated with this
request. The value returned by getData(String)
is a String
, it may be null when the request type
is Data.RequestType.ADMIN
. From V3.0.16.0, this data is available in:
Interceptor.preInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Service.invoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.RequestData, com.ibm.zosconnect.spi.ResponseData)
From V3.0.28.0, this data is available in:
ServiceProviderInterceptor.preSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String API_REQUESTER_NAME
getData(String)
for the name of any API requester associated with this
administration request. The value returned by getData(String)
is a String
. It is always null
when the request type is Data.RequestType.API
or Data.RequestType.SERVICE
. From V3.0.35.0, this data is available in:
static final java.lang.String API_REQUESTER_DESCRIPTION
getData(String)
for the description of any API requester associated with
this administration request. The value returned by getData(String)
is a String
. It is always
null when the request type is Data.RequestType.API
or Data.RequestType.SERVICE
. From V3.0.35.0, this data is available in:
static final java.lang.String API_REQUESTER_VERSION
getData(String)
for the version of any API requester associated with this
administration request. The value returned by getData(String)
is a String
. It is always null
when the request type is Data.RequestType.API
or Data.RequestType.SERVICE
. From V3.0.35.0, this data is available in:
static final java.lang.String AUTHORIZATION_ADMIN_GROUP_NAMES
getData(String)
for the configured administrator groups names to be used
for authorization validation. The value returned by getData(String)
is an array of String
objects, null if not configured. From V3.0.16.0, this data is available in:
Interceptor.preInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Service.invoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.RequestData, com.ibm.zosconnect.spi.ResponseData)
From V3.0.28.0, this data is available in:
ServiceProviderInterceptor.preSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String AUTHORIZATION_OPERATIONS_GROUP_NAMES
getData(String)
for the configured operations group names to be used for
authorization validation. The value returned by getData(String)
is an array of String
objects,
null if not configured. From V3.0.16.0, this data is available in:
Interceptor.preInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Service.invoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.RequestData, com.ibm.zosconnect.spi.ResponseData)
From V3.0.28.0, this data is available in:
ServiceProviderInterceptor.preSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String AUTHORIZATION_INVOKE_GROUP_NAMES
getData(String)
for the configured invoke group names to be used for
authorization validation. The value returned by getData(String)
is an array of String
objects,
null if not configured. From V3.0.16.0, this data is available in:
Interceptor.preInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Service.invoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.RequestData, com.ibm.zosconnect.spi.ResponseData)
From V3.0.28.0, this data is available in:
ServiceProviderInterceptor.preSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String AUTHORIZATION_READER_GROUP_NAMES
getData(String)
for the configured reader group names to be used for
authorization validation. The value returned by getData(String)
is an array of String
objects,
null if not configured. From V3.0.16.0, this data is available in:
Interceptor.preInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Service.invoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.RequestData, com.ibm.zosconnect.spi.ResponseData)
From V3.0.28.0, this data is available in:
ServiceProviderInterceptor.preSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String HTTP_RESPONSE_CODE
getData(String)
for the HTTP status code for the response. If the
asynchronous processing of the request has timed out, the value returned for HTTP_RESPONSE_CODE
is
correct for how the asynchronous work was processed by z/OS Connect EE but the HTTP client receives an HTTP
status code of 503
as part of standard z/OS Connect EE asynchronous timeout processing. See
REQUEST_TIMED_OUT
for further details. The value returned by getData(String)
is an
Integer
. From V3.0.16.0, this data is available in:
From V3.0.28.0, this data is available in:
static final java.lang.String SERVICE_PROVIDER_NAME
getData(String)
for the name of the service provider which is processing
this request. The value returned by getData(String)
is a String
, it may be null when the request
type is Data.RequestType.ADMIN
or Data.RequestType.API
. From V3.0.16.0, this data is available in:
Interceptor.preInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Service.invoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.RequestData, com.ibm.zosconnect.spi.ResponseData)
From V3.0.28.0, this data is available in:
ServiceProviderInterceptor.preSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String TIME_ZOS_CONNECT_ENTRY
getData(String)
for the timestamp of when this request was received by the
z/OS Connect EE server from the HTTP client. The value returned by getData(String)
is an extended store
clock in the form of a byte array. Refer to SA22-7832 z/Architecture Principles of Operations for more
information. From V3.0.16.0, this data is available in:
Interceptor.preInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Service.invoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.RequestData, com.ibm.zosconnect.spi.ResponseData)
From V3.0.28.0, this data is available in:
EarlyFailureInterceptor.earlyFailure(com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.preSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String TIME_SOR_SENT
getData(String)
for the timestamp of when this request was sent to the
system of record by the z/OS Connect EE server. The value returned by getData(String)
is an extended
store clock in the form of a byte array. Refer to SA22-7832 z/Architecture Principles of Operations for more
information. The value returned is null when the request type is Data.RequestType.ADMIN
, or when the request
has not been sent to the system of record, or if the service provider does not support setting this value.
From V3.0.16.0, this data is available for requests using the CICS or IMS service provider in:
From V3.0.24.0, this data is available for requests using the REST client or WOLA service provider in:
From V3.0.28.0, this data is available for requests using the CICS, IMS, REST client or WOLA service provider in:
From V3.0.42.0, this data is available for requests using the MQ service provider in:
Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String TIME_SOR_RECEIVED
getData(String)
for the timestamp of when this response was received from
the system of record by the z/OS Connect EE server. The value returned by getData(String)
is an extended
store clock in the form of a byte array. Refer to SA22-7832 z/Architecture Principles of Operations for more
information. The value returned is null when the request type is Data.RequestType.ADMIN
, or when a response
has not been received from the system of record, or if the service provider does not support setting this value.
From V3.0.16.0, this data is available for requests using the CICS or IMS service provider in:
From V3.0.24.0, this data is available for requests using the REST client or WOLA service provider in:
From V3.0.28.0, this data is available for requests using the CICS, IMS, REST client or WOLA service provider in:
From V3.0.42.0, this data is available for requests using the MQ service provider in:
Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String TIME_ZOS_CONNECT_EXIT
getData(String)
for the timestamp of when this response was sent to the
HTTP client by the z/OS Connect EE server. The value returned by getData(String)
is an extended store
clock in the form of a byte array. Refer to SA22-7832 z/Architecture Principles of Operations for more
information. From V3.0.16.0, this data is available in:
From V3.0.28.0, this data is available in:
static final java.lang.String SOR_REFERENCE
getData(String)
for the configured connection reference that identifies the
connection to the system of record. This is either the value set in the associated service archive file, or is
the value specified in a policy override that applies to this request. getData(String)
is a String
, null when the request type is Data.RequestType.ADMIN
, or if the
request fails before the service provider determines the reference, or if the service provider does not support
setting this value. From V3.0.16.0, this data is available in:
From V3.0.28.0, this data is available in:
ServiceProviderInterceptor.preSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String SOR_IDENTIFIER
getData(String)
for a string identifying the system of record. getData(String)
is a String
, it is null when the request type is
Data.RequestType.ADMIN
, or if the request fails before the service provider determines the identifier, or if
the service provider does not support setting this value. From V3.0.16.0, this data is available in:
From V3.0.28.0, this data is available in:
ServiceProviderInterceptor.preSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Note, for Db2, the LOCATION NAME is not available at this
point, the value is just "<host>:<port>".ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String SOR_RESOURCE
getData(String)
for a string containing information identifying the
resource invoked on the system of record. getData(String)
is a
String
, null when the request type is Data.RequestType.ADMIN
, or if the request fails before the
service provider determines the resource, or if the service provider does not support setting this value. From V3.0.16.0, this data is available in:
From V3.0.28.0, this data is available in:
ServiceProviderInterceptor.preSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String CORRELATOR
getData(String)
for a byte array containing a system wide unique correlator
that is passed to the system of record by some service providers and can be used to track this request. The
correlator is embedded in a tracking token and sent to the system of record by some service providers, @see Tracking
requests for information on the format of the tracking token. The value returned by
getData(String)
is in the form of a byte array or null when the request type is
Data.RequestType.ADMIN
.
This is available in Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
from V3.0.16.0.
From V3.0.28.0, this data is available in:
ServiceProviderInterceptor.preSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String TRACKING_TOKEN
getData(String)
for a byte array containing the tracking token that is
passed to the system of record by some service providers and can be used to track this request, @see Tracking
requests for information on the format of the tracking token. The value returned by getData(String)
is in the
form of a byte array that is a maximum of 64 bytes in length or null when the request type is
Data.RequestType.ADMIN
.
This is available in Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
from V3.0.29.0.
static final java.lang.String REQUEST_TIMED_OUT
getData(String)
for a flag indicating whether this request has been timed
out. When this is true
the HTTP client has already been sent a response and the other values returned in
getData(String)
are correct for how the request was processed by z/OS Connect EE but does not reflect
the response the HTTP client received. For example, calling getData(String)
with a key value of
"HttpResponseCode" may return 200
as the work completed successfully in the system of record,
but if the asynchronous request timeout expired before the request had finished processing, the HTTP client will
have received the HTTP status code 503
. The value returned by getData(String)
is a
Boolean
, true
if the request has been timed out. From V3.0.16.0, this data is available in:
From V3.0.28.0, this data is available in:
static final java.lang.String USER_NAME_MAPPED
getData(String)
for the SAF mapped user ID associated with this request, if
there is one. This is the case when the user identity returned by HttpZosConnectRequest.getUserPrincipal()
is a distributed identity, the mapDistributedIdentities attribute is set on the safCredentials element in
server.xml, and the distributed identity is mapped to a SAF identity in the SAF registry. The value returned is
null if the user principal returned by HttpZosConnectRequest.getUserPrincipal()
is a SAF identity or is a
distributed identity that has not been mapped. From V3.0.24.0, this data is available in:
Interceptor.preInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
Service.invoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.RequestData, com.ibm.zosconnect.spi.ResponseData)
From V3.0.28.0, this data is available in:
EarlyFailureInterceptor.earlyFailure(com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.preSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
ServiceProviderInterceptor.postSorInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
static final java.lang.String USER_NAME
getData(String)
for the user identity associated
with this request. The value returned by getData(String)
is a String
containing one of the
following:This data is available in all methods of the Interceptor
interface and its
subinterfaces.
java.lang.String getInputPayload()
Data.RequestType.ADMIN
.java.lang.String getOutputPayload()
java.lang.String getMappedResponseHeader(java.lang.String key)
Data.RequestType.ADMIN
, this
method returns null.key
- A String specifying the mapped response header name.java.util.Enumeration<java.lang.String> getMappedResponseHeaderNames()
Data.RequestType.ADMIN
, this method returns null.Data.RequestType getRequestType()
java.lang.Object getData(java.lang.String key)
Data
interface for the valid keys. Available from
V3.0.16.0.key
- The key for the value that is to be returned.@Deprecated java.lang.String getServiceName()
getData(String)
with key value "ServiceName" for service requests or
with key value "ApiName" for API requests.@Deprecated java.lang.String getServiceDescription()
getData(String)
with key value "ServiceDescription".@Deprecated java.lang.String getServiceGroupingName()
@Deprecated java.lang.String getAuthorizationAdminGroupName()
getData(String)
with key value "AuthorizationAdminGroupNames".@Deprecated java.lang.String[] getAuthorizationAdminGroupNames()
getData(String)
with key value "AuthorizationAdminGroupNames".@Deprecated java.lang.String getAuthorizationOperationsGroupName()
getData(String)
with key value "AuthorizationOperationsGroupNames".@Deprecated java.lang.String getAuthorizationInvokeGroupName()
getData(String)
with key value "AuthorizationInvokeGroupNames".@Deprecated java.lang.String getAuthorizationReaderGroupName()
getData(String)
with key value "AuthorizationReaderGroupNames".boolean getInterceptorPreInvokeFailed()
@Deprecated boolean isDataTranformationAvailable()
Interceptor
.@Deprecated byte[] getRequestID()
getData(String)
with key value "RequestId".void addStakeholderToken(char stakeholderIdentifier) throws TrackingCapacityException, java.lang.IllegalArgumentException, java.io.UnsupportedEncodingException, java.lang.UnsupportedOperationException
When called during
Interceptor.preInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
, it adds a stakeholder token to the tracking token passed to
the system of record with the current request. Any stakeholder token added to the request during the
Interceptor.postInvoke(java.util.Map<java.lang.Object, java.lang.Object>, com.ibm.zosconnect.spi.HttpZosConnectRequest, com.ibm.zosconnect.spi.Data)
method is ignored.
The stakeholder identifier must be
the identifier returned by TrackingInterceptor.getStakeholderIdentifier()
.
stakeholderIdentifier
- The registered identifier of the stakeholder.TrackingCapacityException
- If there is insufficient space to include this stakeholder token in the
tracking token.java.lang.IllegalArgumentException
- If stakeholderIdentifier is not in the range A-Z or a-z.java.io.UnsupportedEncodingException
- If there is an error encoding the stakeholderIdentifier in the code page
required by the system of record.java.lang.UnsupportedOperationException
- If this method is called for an Interceptor that has not implemented the
TrackingInterceptor
interface, or if this method is called for a
request of type Data.RequestType.ADMIN
.