|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.xkms.service.XKMSResponseFactory
public final class XKMSResponseFactory
Method Summary | ||
---|---|---|
static ResultType |
copyOpaqueClientData(RequestAbstractType request,
ResultType response)
Copies OpaqueClientData from request to response as per XKMS specification http://www.w3.org/TR/xkms2/#XKMS_2_0_Section_1 [86] |
|
static ResultType |
copyRequestId(RequestAbstractType request,
ResultType response)
Copies Request ID to response as per XKMS specification http://www.w3.org/TR/xkms2/#XKMS_2_0_Section_1 |
|
static ResultType |
copyServiceName(RequestAbstractType request,
ResultType response)
Copies service name from request to response. |
|
static ResultType |
createResponse(RequestAbstractType request)
|
|
static
|
createResponse(RequestAbstractType request,
T response)
The following activities are performed: 1) generation and assigning of unique response ID 2) copying of request id 3) copying of service name 4) copying of opaqueClientData 5) setting major result to success |
|
static String |
generateUniqueID()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ResultType createResponse(RequestAbstractType request)
request
- Request to generate response for
public static <T extends ResultType> T createResponse(RequestAbstractType request, T response)
request
- Request to be used for responseresponse
- Response to be enriched
public static ResultType copyOpaqueClientData(RequestAbstractType request, ResultType response)
request
- Containing OpaqueClientDataresponse
- to be used for inserting OpaqueClientData
public static ResultType copyRequestId(RequestAbstractType request, ResultType response)
request
- Containing request IDresponse
- to be used for inserting request ID
public static ResultType copyServiceName(RequestAbstractType request, ResultType response)
request
- containing service nameresponse
- to be used for inserting service name
public static String generateUniqueID()
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |