Class BatchResponse


  • public class BatchResponse
    extends Object
    Encapsulates the Batch response management via CXF Proxy Client.
    • Constructor Detail

      • BatchResponse

        public BatchResponse​(String boundary,
                             String jwt,
                             org.apache.cxf.configuration.jsse.TLSClientParameters tlsClientParameters,
                             javax.ws.rs.core.Response response)
    • Method Detail

      • poll

        public static javax.ws.rs.core.Response poll​(URI monitor,
                                                     String jwt,
                                                     String boundary,
                                                     org.apache.cxf.configuration.jsse.TLSClientParameters tlsClientParameters)
        If asynchronous processing was requested, queries the monitor URI.
        Parameters:
        monitor - monitor URI
        jwt - authorization JWT
        boundary - mutipart / mixed boundary
        tlsClientParameters - (optional) TLS client parameters
        Returns:
        the last Response received from the Batch service
      • getBoundary

        public String getBoundary()
      • getMonitor

        public URI getMonitor()
      • getResponse

        public javax.ws.rs.core.Response getResponse()
        Gives the last Response received from the Batch service.
        Returns:
        the last Response received from the Batch service
      • poll

        public javax.ws.rs.core.Response poll()
        If asynchronous processing was requested, queries the monitor URI.
        Returns:
        the last Response received from the Batch service