com.ibm.ctg.intercept

Interface CicsIntercept



  • public interface CicsIntercept
    Provides a plug-in interface that allows for ECI, EPI, ESI and JSON requests to be intercepted. A CICS Intercept plug-in is a class that, when enabled, is notified before a request is sent to CICS. This allows for applications to be tested running to CICS TG without the need for a back-end CICS system. The interceptRequest(GatewayRequest) method is called before a request is sent to CICS. The plug-in can change any of the properties on the GatewayRequest and then returns a value indicating whether the request should be sent onto CICS or returned back to the client application. The CICS Intercept plug-in can identify the specific release of the product at run time by getting the value of Java property, "com.ibm.ctg.gateway.version". The value of this property is set during initialization of the Gateway daemon and has the form "v.r.m.f".
    • Method Detail

      • interceptRequest

        CicsIntercept.InterceptAction interceptRequest(GatewayRequest req)
        Allows the GatewayRequest to be intercepted before being sent on to CICS. Implementations can modify the properties of the GatewayRequest and can choose to send the request to CICS or return the request to the calling application.
        Parameters:
        req - The CICS TG request flowed from the client application
        Returns:
        Continue to send the request to CICS, or Return to return the request to the caller

©Copyright IBM Corp. 1994, 2016


Legal