Package com.sun.identity.rest
Class ListenerResource
- java.lang.Object
-
- com.sun.identity.rest.ResourceBase
-
- com.sun.identity.rest.ListenerResource
-
@Path("/1/entitlement/listener") public class ListenerResource extends ResourceBaseExposes the entitlement listener REST resource.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.sun.identity.rest.ResourceBase
ResourceBase.MimeType
-
-
Field Summary
-
Fields inherited from class com.sun.identity.rest.ResourceBase
BODY, STATUS_CODE, STATUS_MESSAGE
-
-
Constructor Summary
Constructors Constructor Description ListenerResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaddListener(jakarta.ws.rs.core.HttpHeaders headers, jakarta.servlet.http.HttpServletRequest request, String url, List<String> resources, String application)StringdeleteListener(jakarta.ws.rs.core.HttpHeaders headers, jakarta.servlet.http.HttpServletRequest request, String url)StringgetListener(jakarta.ws.rs.core.HttpHeaders headers, jakarta.servlet.http.HttpServletRequest request, String url)-
Methods inherited from class com.sun.identity.rest.ResourceBase
createResponseJSONString, createResponseJSONString, createResponseJSONString, createStringResponseJSONString, getCaller, getLocalizedMessage, getSubject, getUserLocale, getWebApplicationException, getWebApplicationException, getWebApplicationException, getWebApplicationException, getWebApplicationException, toSubject, toSubject
-
-
-
-
Method Detail
-
addListener
@POST @Produces("application/json") public String addListener(@Context jakarta.ws.rs.core.HttpHeaders headers, @Context jakarta.servlet.http.HttpServletRequest request, @FormParam("url") String url, @FormParam("resources") List<String> resources, @FormParam("application") @DefaultValue("iPlanetAMWebAgentService") String application)
-
deleteListener
@DELETE @Produces("application/json") @Path("/{url}") public String deleteListener(@Context jakarta.ws.rs.core.HttpHeaders headers, @Context jakarta.servlet.http.HttpServletRequest request, @PathParam("url") String url)
-
-