|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.ixb.handlers.netmarkets.JSPFeedback
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
Field Summary | |
private static String |
FEEDBACK_PROPERTY_KEY
|
private NmFeedbackSpec |
spec
|
private WTContext |
wtContext
|
Constructor Summary | |
JSPFeedback()
Construct a new JSPFeedback object. |
|
JSPFeedback(NmFeedbackSpec target)
Construct a new JSPFeedback object. |
Method Summary | |
void |
destroy()
Destroy this JSPFeedback object. |
NmFeedbackSpec |
getSpec()
Return this object's NmFeedbackSpec
object. |
void |
propertyChange(PropertyChangeEvent evt)
|
static void |
sendFeedback(LocalizableMessage feedback)
Send feedback LocalizableMessage to NmFeedbackSpec. |
static void |
sendFeedback(String feedback)
Send feedback string to NmFeedbackSpec. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String FEEDBACK_PROPERTY_KEY
private WTContext wtContext
private NmFeedbackSpec spec
Constructor Detail |
public JSPFeedback()
JSPFeedback
object. Creates
a default NmFeedbackSpec
.
public JSPFeedback(NmFeedbackSpec target)
JSPFeedback
object.
Method Detail |
public final NmFeedbackSpec getSpec()
NmFeedbackSpec
object.
public void destroy()
JSPFeedback
object.
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
public static void sendFeedback(String feedback)
feedback
- the String
to write and flushpublic static void sendFeedback(LocalizableMessage feedback)
LocalizableMessage
to NmFeedbackSpec.
The message will be localized to locale of the response.
feedback
- the String
to write and flush
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |