com.sapportals.wcm.protocol.ice.protocol.handler

Class DefaultICESubRequestHandler

java.lang.Object
  extended by com.sapportals.wcm.protocol.ice.protocol.handler.DefaultICESubRequestHandler
All Implemented Interfaces:
IICESubRequestHandler

public class DefaultICESubRequestHandler
extends Object
implements IICESubRequestHandler

Default implementation of the IICESubRequestHandler interface. ICEInput automatically uses this implementation of the handler if no other implementation if provided.

Every handler method writes a 503 NOT IMPLEMENTED ICE code into the ICEOutput.

See Also:

Copyright 2004 SAP AG


Constructor Summary
DefaultICESubRequestHandler()
           
 
Method Summary
 void handleCancel(ICECancel cancel, ICEContext context)
          Handle an ICE cancel request (a request for subscription cancelation).
 void handleGetCatalog(ICEGetCatalog request, ICEContext context)
          Handle an ICE get catalog request.
 void handleGetPackage(ICEGetPackage getPackage, ICEContext context)
          Handle an ICE get package request.
 void handleGetSequence(ICEGetSequence request, ICEContext context)
          Handle an ICE get sequence request.
 void handleOffer(ICEOffer offer, ICEContext context)
          Handle an ICE offer request (a request for subscription).
 void handleRepairItem(ICERepairItem repairItem, ICEContext context)
          Handle an ICE repair item request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultICESubRequestHandler

public DefaultICESubRequestHandler()
Method Detail

handleGetPackage

public void handleGetPackage(ICEGetPackage getPackage,
                             ICEContext context)
Handle an ICE get package request. ICEInput invokes this method once it encounters an ice-get-package element inside an ice-request.

Detailed informations about ICE get package requests could be found in the ICE 1.1 specification Section 5.3 .

Specified by:
handleGetPackage in interface IICESubRequestHandler
Parameters:
getPackage - The get package request
context - The context informations of the request

handleRepairItem

public void handleRepairItem(ICERepairItem repairItem,
                             ICEContext context)
Handle an ICE repair item request. ICEInput invokes this method once if encounters and ice-repair-item element inside an ice-request.

Detailed informations about ICE repair item requests could be found in the ICE 1.1 specification Section 5.5.3 .

Specified by:
handleRepairItem in interface IICESubRequestHandler
Parameters:
repairItem - The repair item request
context - The context informations of the request

handleGetCatalog

public void handleGetCatalog(ICEGetCatalog request,
                             ICEContext context)
Handle an ICE get catalog request. ICEInput invokes this method once it encounters an ice-get-catalog element inseide an ice-request.

Detailed informations about ICE get catalog requests could be found in the ICE 1.1 specification Section 4.3.4 .

Specified by:
handleGetCatalog in interface IICESubRequestHandler
Parameters:
request - @todo: Description of the incoming method parameter
context - @todo: Description of the incoming method parameter

handleGetSequence

public void handleGetSequence(ICEGetSequence request,
                              ICEContext context)
Handle an ICE get sequence request. ICEInput invokes this method once it encounters an ice-get-sequence element inside an ice-request. Detailed informations about ICE get sequence requests could be found in the ICE 1.1 specification Section 5.5.2 .

Specified by:
handleGetSequence in interface IICESubRequestHandler
Parameters:
request - @todo: Description of the incoming method parameter
context - @todo: Description of the incoming method parameter

handleOffer

public void handleOffer(ICEOffer offer,
                        ICEContext context)
Handle an ICE offer request (a request for subscription). ICEInput invokes this method once it encounters an ice-offer element inside an ice-request.

Detailed informations about the ICE offer request and subscription establishment could be found in the ICE 1.1 specification Section 4.4

Specified by:
handleOffer in interface IICESubRequestHandler
Parameters:
offer - @todo: Description of the incoming method parameter
context - @todo: Description of the incoming method parameter

handleCancel

public void handleCancel(ICECancel cancel,
                         ICEContext context)
Handle an ICE cancel request (a request for subscription cancelation). ICEInput invokes this method once it encounters an ice-cancel element inside an ice-request.

Detailed informations about the ICE cancel request could be found in the ICE 1.1 specification handleCancel in interface IICESubRequestHandler

Parameters:
cancel - @todo: Description of the incoming method parameter
context - @todo: Description of the incoming method parameter
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM


Copyright 2011 SAP AG Complete Copyright Notice