org.wso2.carbon.url.mapper.stub
Class UrlMapperAdminServiceCallbackHandler

java.lang.Object
  extended by org.wso2.carbon.url.mapper.stub.UrlMapperAdminServiceCallbackHandler

public abstract class UrlMapperAdminServiceCallbackHandler
extends Object

UrlMapperAdminServiceCallbackHandler Callback class, Users can extend this class and implement their own receiveResult and receiveError methods.


Field Summary
protected  Object clientData
           
 
Constructor Summary
UrlMapperAdminServiceCallbackHandler()
          Please use this constructor if you don't want to set any clientData
UrlMapperAdminServiceCallbackHandler(Object clientData)
          User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and appropriate method of this CallBack is called.
 
Method Summary
 Object getClientData()
          Get the client data
 void receiveErroreditHost(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from editHost operation
 void receiveErrorgetAllMappings(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getAllMappings operation
 void receiveErrorgetDomainNamePrefix(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getDomainNamePrefix operation
 void receiveErrorgetHostForEpr(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getHostForEpr operation
 void receiveErrorgetHostForWebApp(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getHostForWebApp operation
 void receiveErrorgetHttpPort(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getHttpPort operation
 void receiveErrorgetPaginatedMappings(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getPaginatedMappings operation
 void receiveErrorisMappingExist(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from isMappingExist operation
 void receiveErrorisMappingLimitExceeded(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from isMappingLimitExceeded operation
 void receiveResulteditHost(boolean result)
          auto generated Axis2 call back method for editHost method override this method for handling normal response from editHost operation
 void receiveResultgetAllMappings(MappingData[] result)
          auto generated Axis2 call back method for getAllMappings method override this method for handling normal response from getAllMappings operation
 void receiveResultgetDomainNamePrefix(String result)
          auto generated Axis2 call back method for getDomainNamePrefix method override this method for handling normal response from getDomainNamePrefix operation
 void receiveResultgetHostForEpr(String[] result)
          auto generated Axis2 call back method for getHostForEpr method override this method for handling normal response from getHostForEpr operation
 void receiveResultgetHostForWebApp(String[] result)
          auto generated Axis2 call back method for getHostForWebApp method override this method for handling normal response from getHostForWebApp operation
 void receiveResultgetHttpPort(String result)
          auto generated Axis2 call back method for getHttpPort method override this method for handling normal response from getHttpPort operation
 void receiveResultgetPaginatedMappings(PaginatedMappingData result)
          auto generated Axis2 call back method for getPaginatedMappings method override this method for handling normal response from getPaginatedMappings operation
 void receiveResultisMappingExist(boolean result)
          auto generated Axis2 call back method for isMappingExist method override this method for handling normal response from isMappingExist operation
 void receiveResultisMappingLimitExceeded(boolean result)
          auto generated Axis2 call back method for isMappingLimitExceeded method override this method for handling normal response from isMappingLimitExceeded operation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clientData

protected Object clientData
Constructor Detail

UrlMapperAdminServiceCallbackHandler

public UrlMapperAdminServiceCallbackHandler(Object clientData)
User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and appropriate method of this CallBack is called.

Parameters:
clientData - Object mechanism by which the user can pass in user data that will be avilable at the time this callback is called.

UrlMapperAdminServiceCallbackHandler

public UrlMapperAdminServiceCallbackHandler()
Please use this constructor if you don't want to set any clientData

Method Detail

getClientData

public Object getClientData()
Get the client data


receiveResultisMappingExist

public void receiveResultisMappingExist(boolean result)
auto generated Axis2 call back method for isMappingExist method override this method for handling normal response from isMappingExist operation


receiveErrorisMappingExist

public void receiveErrorisMappingExist(Exception e)
auto generated Axis2 Error handler override this method for handling error response from isMappingExist operation


receiveResultgetAllMappings

public void receiveResultgetAllMappings(MappingData[] result)
auto generated Axis2 call back method for getAllMappings method override this method for handling normal response from getAllMappings operation


receiveErrorgetAllMappings

public void receiveErrorgetAllMappings(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getAllMappings operation


receiveResultgetHttpPort

public void receiveResultgetHttpPort(String result)
auto generated Axis2 call back method for getHttpPort method override this method for handling normal response from getHttpPort operation


receiveErrorgetHttpPort

public void receiveErrorgetHttpPort(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getHttpPort operation


receiveResultisMappingLimitExceeded

public void receiveResultisMappingLimitExceeded(boolean result)
auto generated Axis2 call back method for isMappingLimitExceeded method override this method for handling normal response from isMappingLimitExceeded operation


receiveErrorisMappingLimitExceeded

public void receiveErrorisMappingLimitExceeded(Exception e)
auto generated Axis2 Error handler override this method for handling error response from isMappingLimitExceeded operation


receiveResultgetDomainNamePrefix

public void receiveResultgetDomainNamePrefix(String result)
auto generated Axis2 call back method for getDomainNamePrefix method override this method for handling normal response from getDomainNamePrefix operation


receiveErrorgetDomainNamePrefix

public void receiveErrorgetDomainNamePrefix(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getDomainNamePrefix operation


receiveResultgetPaginatedMappings

public void receiveResultgetPaginatedMappings(PaginatedMappingData result)
auto generated Axis2 call back method for getPaginatedMappings method override this method for handling normal response from getPaginatedMappings operation


receiveErrorgetPaginatedMappings

public void receiveErrorgetPaginatedMappings(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getPaginatedMappings operation


receiveResulteditHost

public void receiveResulteditHost(boolean result)
auto generated Axis2 call back method for editHost method override this method for handling normal response from editHost operation


receiveErroreditHost

public void receiveErroreditHost(Exception e)
auto generated Axis2 Error handler override this method for handling error response from editHost operation


receiveResultgetHostForWebApp

public void receiveResultgetHostForWebApp(String[] result)
auto generated Axis2 call back method for getHostForWebApp method override this method for handling normal response from getHostForWebApp operation


receiveErrorgetHostForWebApp

public void receiveErrorgetHostForWebApp(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getHostForWebApp operation


receiveResultgetHostForEpr

public void receiveResultgetHostForEpr(String[] result)
auto generated Axis2 call back method for getHostForEpr method override this method for handling normal response from getHostForEpr operation


receiveErrorgetHostForEpr

public void receiveErrorgetHostForEpr(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getHostForEpr operation



Copyright © 2015 WSO2. All rights reserved.