com.goonit.imapi.jaxrs.servlet.isim
Class serviceprofile
java.lang.Object
com.goonit.imapi.jaxrs.servlet.isim.LDAPHelper
com.goonit.imapi.jaxrs.servlet.isim.serviceprofile
public class serviceprofile
- extends com.goonit.imapi.jaxrs.servlet.isim.LDAPHelper
serviceprofile
is a RESTFul service which returns the serviceprofile form template. This template is used to create
service forms.
This class has a Path
annotation with the value "/serviceprofile/{profileName}" which
means the resource will be available at:
http://<hostname>:<port>/<context root>/<servlet path>/serviceprofile/{profilename}
e.g. http://192.168.0.6/goonit/goonapi/serviceprofile/LdapProfile
Only the GET method is implemented
Method Summary |
java.lang.String |
GET(javax.servlet.http.HttpServletRequest requestObj,
javax.servlet.http.HttpServletResponse responseObj,
java.lang.String profilename)
Processes a GET request and returns the stored message. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serviceprofile
public serviceprofile()
GET
public java.lang.String GET(@Context
javax.servlet.http.HttpServletRequest requestObj,
@Context
javax.servlet.http.HttpServletResponse responseObj,
java.lang.String profilename)
throws java.lang.Exception
- Processes a GET request and returns the stored message.
- Returns:
- the serviceprofile template
{"form":[[[{"@index":"0","@selected":"true","title":"$ldapmaintab","image":[],"url":"javascript:switchTabs(document.forms['body'],0);",
"formElement":[{"@direction":"inherit","@name":"data.erservicename","@label":"$erservicename","@required":"true","input":{"@name":"data.erservicename","@size":"50"},"constraint":{"type":"REQUIRED","parameter":"true"}},
{"@direction":"inherit","@name":"data.description","@label":"$description","input":{"@name":"data.description","@size":"50"}},
....
- Throws:
com.ibm.itim.apps.ApplicationException
java.rmi.RemoteException
java.lang.Exception