public abstract class DSTRequestHandler extends Object implements RequestHandler
DSTRequestHandler
is 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.Modifier | Constructor and Description |
---|---|
protected |
DSTRequestHandler()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
protected String |
getResourceID(Object resourceIDType,
String providerID,
String serviceType)
Gets the Resource ID given in the Query or Modify Request.
|
abstract Object |
processDSTRequest(Object request,
Message msg,
Message response)
Processes query/modify request.
|
Message |
processRequest(Message msg)
Processes the request for the given personal profile service request.
|
public Message processRequest(Message msg) throws SOAPFaultException, Exception
processRequest
in interface RequestHandler
msg
- SOAP Request messageSOAPFaultException
- if the service requires an interaction.Exception
- for any generic failure.public abstract Object processDSTRequest(Object request, Message msg, Message response) throws SOAPFaultException, DSTException
request
- query or modify object.msg
- Request Message.response
- response Message.DSTException
- for failure.SOAPFaultException
- for the interaction redirectsprotected String getResourceID(Object resourceIDType, String providerID, String serviceType)
resourceIDType
- JAXB ResourceIDType Object.providerID
- Provider ID.serviceType
- Service Type.Copyright © 2010-2018, ForgeRock All Rights Reserved.