|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.plumtree.portalpages.rest.utils.RESTHelper
public class RESTHelper
This class contains helper methods for the REST APIs.
Constructor Summary | |
---|---|
RESTHelper()
|
Method Summary | |
---|---|
java.lang.String |
GetPOSTBody(IXPRequest _request)
This helper method returns the POST body from the request input stream. |
void |
OutputError(IRESTError _error,
IWebData _webData)
This method outputs the JSON error results. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RESTHelper()
Method Detail |
---|
public java.lang.String GetPOSTBody(IXPRequest _request)
_request
- The current request.
public void OutputError(IRESTError _error, IWebData _webData)
_error
- The error to output._webData
- The current request web data.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |