/** * Creates the service response. * * @param service the service * @param responseIndex the response index * @return the service response */ @Override protected ServiceResponse createServiceResponse(ExchangeService service, int responseIndex) { return new CreateItemResponse((Item) EwsUtilities .getEnumeratedObjectAt(this.getItems(), responseIndex)); }
/** * Creates the service response. * * @param service the service * @param responseIndex Index of the response. * @return Service response. */ @Override protected ServiceResponse createServiceResponse(ExchangeService service, int responseIndex) { return new CreateFolderResponse((Folder) EwsUtilities .getEnumeratedObjectAt(this.getFolders(), responseIndex)); }
/** * Creates the service response. * * @param service the service * @param responseIndex Index of the response. * @return Service response. */ @Override protected ServiceResponse createServiceResponse(ExchangeService service, int responseIndex) { return new CreateFolderResponse((Folder) EwsUtilities .getEnumeratedObjectAt(this.getFolders(), responseIndex)); }
/** * Creates the service response. * * @param service the service * @param responseIndex the response index * @return the service response */ @Override protected ServiceResponse createServiceResponse(ExchangeService service, int responseIndex) { return new CreateItemResponse((Item) EwsUtilities .getEnumeratedObjectAt(this.getItems(), responseIndex)); }