Class JSPFeedback

java.lang.Object
wt.ixb.handlers.netmarkets.JSPFeedback
All Implemented Interfaces:
PropertyChangeListener, EventListener

public class JSPFeedback extends Object implements PropertyChangeListener
Class to write pass messages to an NmFeedbackSpec object. This class can be used by server-side methods to send feedback messages to arbitrary clients which understand how to use an NmFeedbackSpec object. The calling program must have previously constructed a JSPFeedback object around its NmFeedbackSpec object.

Supported API: true
Extendable: true
  • Method Details

    • destroy

      public void destroy()
      Destroy this JSPFeedback object.

      Supported API: true
    • sendFeedback

      public static void sendFeedback(String feedback)
      Send feedback string to NmFeedbackSpec.

      Supported API: true
      Parameters:
      feedback - the String to write and flush
    • sendFeedback

      public static void sendFeedback(LocalizableMessage feedback) throws WTException
      Send feedback LocalizableMessage to NmFeedbackSpec. The message will be localized to locale of the response.

      Supported API: true
      Parameters:
      feedback - the String to write and flush
      Throws:
      WTException