com.sun.identity.liberty.ws.dst.service
クラス DSTRequestHandler

java.lang.Object
  上位を拡張 com.sun.identity.liberty.ws.dst.service.DSTRequestHandler
すべての実装されたインタフェース:
RequestHandler

public abstract class DSTRequestHandler
extends Object
implements RequestHandler

The class 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.


コンストラクタの概要
protected DSTRequestHandler()
          Default constructor
 
メソッドの概要
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.
 

コンストラクタの詳細

DSTRequestHandler

protected DSTRequestHandler()
Default constructor

メソッドの詳細

processRequest

public Message processRequest(Message msg)
                       throws SOAPFaultException
Processes the request for the given personal profile service request.

定義:
インタフェース RequestHandler 内の processRequest
パラメータ:
msg - SOAP Request message
戻り値:
Message SOAP Response Message.
例外:
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.

パラメータ:
request - query or modify object.
msg - Request Message.
response - response Message.
戻り値:
Object processed response object.
例外:
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.

パラメータ:
resourceIDType - JAXB ResourceIDType Object.
providerID - Provider ID.
serviceType - Service Type.
戻り値:
String resource id.