com.goonit.imapi.jaxrs.servlet.isim
Class accountCompliance

java.lang.Object
  extended by com.goonit.imapi.jaxrs.servlet.isim.accountCompliance

public class accountCompliance
extends java.lang.Object

accountCompliance is a RESTFul service which checks Accounts for Compliance in ISIM.

This class has a Path annotation with the value "/accountCompliance/{accountDN}/{serviceDN}" which means the resource will be available at: http://<hostname>:<port>/<context root>/<servlet path>/accountCompliance/{accountDN}/{serviceDN} Only the GET method is implemented which returns the detail of the Account status and the required changes should it be non-compliant


Constructor Summary
accountCompliance()
           
 
Method Summary
 java.lang.String GET(javax.servlet.http.HttpServletRequest requestObj, javax.servlet.http.HttpServletResponse responseObj, java.lang.String strDN, java.lang.String servicednStr)
          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
 

Constructor Detail

accountCompliance

public accountCompliance()
Method Detail

GET

public java.lang.String GET(@Context
                            javax.servlet.http.HttpServletRequest requestObj,
                            @Context
                            javax.servlet.http.HttpServletResponse responseObj,
                            java.lang.String strDN,
                            java.lang.String servicednStr)
Processes a GET request and returns the stored message.

Returns:
a JSON object representing the Account Status and any required changes