Class DSTRequestHandler
- java.lang.Object
-
- com.sun.identity.liberty.ws.dst.service.DSTRequestHandler
-
- All Implemented Interfaces:
RequestHandler
- Direct Known Subclasses:
PPRequestHandler
public abstract class DSTRequestHandler extends Object implements RequestHandler
The classDSTRequestHandleris a handler for processing Query or Modify Requests for any generic data service that are built using Liberty SIS specifications. This class includes common processing rules defined by Liberty DST specification, it is an extension point for any Liberty DST based web services.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDSTRequestHandler()Default constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected StringgetResourceID(Object resourceIDType, String providerID, String serviceType)Gets the Resource ID given in the Query or Modify Request.abstract ObjectprocessDSTRequest(Object request, Message msg, Message response)Processes query/modify request.MessageprocessRequest(Message msg)Processes the request for the given personal profile service request.
-
-
-
Method Detail
-
processRequest
public Message processRequest(Message msg) throws SOAPFaultException, Exception
Processes the request for the given personal profile service request.- Specified by:
processRequestin interfaceRequestHandler- Parameters:
msg- SOAP Request message- Returns:
- Message SOAP Response Message.
- Throws:
SOAPFaultException- if the service requires an interaction.Exception- for any generic failure.
-
processDSTRequest
public abstract Object processDSTRequest(Object request, Message msg, Message response) throws SOAPFaultException, DSTException
Processes query/modify request.- Parameters:
request- query or modify object.msg- Request Message.response- response Message.- Returns:
- Object processed response object.
- Throws:
DSTException- for failure.SOAPFaultException- for the interaction redirects
-
getResourceID
protected String getResourceID(Object resourceIDType, String providerID, String serviceType)
Gets the Resource ID given in the Query or Modify Request.- Parameters:
resourceIDType- JAXB ResourceIDType Object.providerID- Provider ID.serviceType- Service Type.- Returns:
- String resource id.
-
-