Class WildFlyRemoteDeploymentJsonMarshaller


  • public class WildFlyRemoteDeploymentJsonMarshaller
    extends Object
    JSON marshaller for WildFly remote deployer.
    • Constructor Detail

      • WildFlyRemoteDeploymentJsonMarshaller

        public WildFlyRemoteDeploymentJsonMarshaller()
        Constructor.
    • Method Detail

      • unmarshallAddContentResponse

        public String unmarshallAddContentResponse​(HttpResult response)
        Parameters:
        response - HTTP response body.
        Returns:
        Value of BYTES_VALUE field in response.
      • marshallDeployRequest

        public String marshallDeployRequest​(Deployable deployable,
                                            String bytesValue)
        Parameters:
        deployable - Deployable.
        bytesValue - Bytes value.
        Returns:
        JSON request body for deploying deployable.
      • marshallUndeployRequest

        public String marshallUndeployRequest​(Deployable deployable)
        Parameters:
        deployable - Deployable.
        Returns:
        JSON request body for undeploying deployable.
      • marshallRemoveRequest

        public String marshallRemoveRequest​(Deployable deployable)
        Parameters:
        deployable - Deployable.
        Returns:
        JSON request body for removing deployable.