Class KieServerHttpRequest


  • public class KieServerHttpRequest
    extends Object
    This class is only meant to be used internally by the kie-server code! For interacting with the REST API, please use a proper REST framework such as RestEasy or Apache CXF.

    Using this class to interact with the REST API will not be supported and any issues or problems that arise from such use will be dismissed with a referral to this exact text!

    A fluid interface for making HTTP requests using an underlying HttpURLConnection (or sub-class).

    Each instance supports making a single request and cannot be reused for further requests. This code was originally copied from Kevin Sawicki's HttpRequest project * project.

    However, it has been extensively modified and rewritten to fit the use case in this code.