Class XMLResponseREPLY
java.lang.Object
it.uniroma2.art.semanticturkey.servlet.XMLResponse
it.uniroma2.art.semanticturkey.servlet.XMLResponseREPLY
- All Implemented Interfaces:
Response
,ResponseREPLY
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setReplyMessage
(String msg) void
void
void
setReplyStatusFAIL
(String msg) void
void
void
Methods inherited from class it.uniroma2.art.semanticturkey.servlet.XMLResponse
getJSONObject, getResponseContent, getResponseElement, getResponseObject, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface it.uniroma2.art.semanticturkey.servlet.Response
getResponseContent, getResponseObject
-
Method Details
-
setReplyStatus
- Specified by:
setReplyStatus
in interfaceResponseREPLY
-
setReplyStatusOK
public void setReplyStatusOK()- Specified by:
setReplyStatusOK
in interfaceResponseREPLY
-
getReplyStatus
- Specified by:
getReplyStatus
in interfaceResponseREPLY
-
setReplyStatusWARNING
public void setReplyStatusWARNING()- Specified by:
setReplyStatusWARNING
in interfaceResponseREPLY
-
setReplyStatusWARNING
- Specified by:
setReplyStatusWARNING
in interfaceResponseREPLY
-
setReplyStatusFAIL
public void setReplyStatusFAIL()- Specified by:
setReplyStatusFAIL
in interfaceResponseREPLY
-
setReplyStatusFAIL
- Specified by:
setReplyStatusFAIL
in interfaceResponseREPLY
-
setReplyMessage
- Specified by:
setReplyMessage
in interfaceResponseREPLY
-
getReplyMessage
- Specified by:
getReplyMessage
in interfaceResponseREPLY
-
getDataElement
-
isAffirmative
public boolean isAffirmative()- Specified by:
isAffirmative
in interfaceResponse
- Specified by:
isAffirmative
in classXMLResponse
-